Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Nov 2005 23:00:29 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/89581: Update port: multimedia/bmpx
Message-ID:  <20051126230029.51563218.tkato432@yahoo.com>
Resent-Message-ID: <200511261410.jAQEA5lc084492@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         89581
>Category:       ports
>Synopsis:       Update port: multimedia/bmpx
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 26 14:10:05 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p13 i386
>Organization:
>Environment:
>Description:
- Fix build on 4-stable
- Add ftp/curl to LIB_DEPENDS
- Support USE_FAM

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/multimedia/bmpx/Makefile multimedia/bmpx/Makefile
--- /usr/ports/multimedia/bmpx/Makefile	Wed Nov 23 20:57:02 2005
+++ multimedia/bmpx/Makefile	Thu Nov 24 23:15:29 2005
@@ -7,6 +7,7 @@
 
 PORTNAME=	bmpx
 PORTVERSION=	0.12.2
+PORTREVISION=	1
 CATEGORIES=	multimedia
 MASTER_SITES=	http://download.berlios.de/bmpx/
 
@@ -14,32 +15,35 @@
 COMMENT=	Audio player
 
 LIB_DEPENDS=	tag.5:${PORTSDIR}/audio/taglib \
-		fam.0:${PORTSDIR}/devel/fam \
+		curl.3:${PORTSDIR}/ftp/curl \
 		xine.14:${PORTSDIR}/multimedia/libxine
 
 USE_BZIP2=	yes
+USE_GCC=	3.4+
+USE_FAM=	yes
 USE_GMAKE=	yes
-USE_GNOME=	gtk20 libglade2
+USE_GNOME=	gnometarget libglade2
 USE_AUTOTOOLS=	libtool:15
 USE_X_PREFIX=	yes
 USE_REINPLACE=	yes
 INSTALLS_SHLIB=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=	--enable-xine --disable-gst
-CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
-		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
 
 MAN1=		bmpx.1
 
-post-extract:
-	@${REINPLACE_CMD} -e 's|-Wall -pedantic -std=c99||' \
-		${WRKSRC}/configure
-
 .if defined(WITHOUT_DBUS)
 CONFIGURE_ARGS+=	--disable-dbus
 .else
 LIB_DEPENDS+=	dbus-1.1:${PORTSDIR}/devel/dbus
 .endif
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|-Wall -pedantic -std=c99||' \
+		${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|<stdint\.h>|<inttypes.h>|' \
+		${WRKSRC}/src/metadata.c
 
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051126230029.51563218.tkato432>