aboutsummaryrefslogtreecommitdiff
path: root/audio/bmp-faad
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2004-12-03 00:22:06 +0000
committerMichael Johnson <ahze@FreeBSD.org>2004-12-03 00:22:06 +0000
commit4e14a5741339f4311ad6769f51d1320b86bb8caf (patch)
treeb3e1e72ae26f1de49d97f21e9bc0800a56800c93 /audio/bmp-faad
parent4e9260826a8781e3288d26b8ddcaabb1276d165b (diff)
downloadports-4e14a5741339f4311ad6769f51d1320b86bb8caf.tar.gz
ports-4e14a5741339f4311ad6769f51d1320b86bb8caf.zip
Fix build on 6.x
Pointed out by: pointy hat via kris
Notes
Notes: svn path=/head/; revision=123011
Diffstat (limited to 'audio/bmp-faad')
-rw-r--r--audio/bmp-faad/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/bmp-faad/Makefile b/audio/bmp-faad/Makefile
index 94b0d056b35c..e72f2eb954cd 100644
--- a/audio/bmp-faad/Makefile
+++ b/audio/bmp-faad/Makefile
@@ -34,7 +34,7 @@ USE_REINPLACE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-xmms --with-mp4v2
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS} -DHAVE_GTK" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
DESCR= ${PORTSDIR}/audio/faad/pkg-descr
@@ -50,6 +50,8 @@ pre-patch: build-depends
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/plugins/xmms/src/Makefile.am
+ @${REINPLACE_CMD} -e 's|"faad.h"|<faad.h>|; s|"mp4.h"|<mp4.h>|' \
+ ${WRKSRC}/plugins/xmms/src/libmp4.c
# make sure everything is prepared prior to configure stage
# pre-configure will not work since *AUTO* tools happen in-between
@cd ${WRKSRC}; ${ACLOCAL} -I ${ACLOCAL_DIR} -I .; \