diff options
author | ahze <ahze@FreeBSD.org> | 2004-12-03 00:22:06 +0000 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2004-12-03 00:22:06 +0000 |
commit | 01408ec579075e99c99fd294a881af3dc2347b1d (patch) | |
tree | 17c93326b835f9756a4206ac1e36d36085e10534 /audio/bmp-faad | |
parent | 10d9735b8fd07d3f71408bf1cf4c0a9c30226b70 (diff) | |
download | FreeBSD-ports-01408ec579075e99c99fd294a881af3dc2347b1d.zip FreeBSD-ports-01408ec579075e99c99fd294a881af3dc2347b1d.tar.gz |
Fix build on 6.x
Pointed out by: pointy hat via kris
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 94b0d05..e72f2eb 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 .; \ |