diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2004-12-03 00:22:06 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2004-12-03 00:22:06 +0000 |
commit | 4e14a5741339f4311ad6769f51d1320b86bb8caf (patch) | |
tree | b3e1e72ae26f1de49d97f21e9bc0800a56800c93 /audio/bmp-faad | |
parent | 4e9260826a8781e3288d26b8ddcaabb1276d165b (diff) | |
download | ports-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/Makefile | 4 |
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 .; \ |