diff options
author | ahze <ahze@FreeBSD.org> | 2004-12-03 08:22:06 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2004-12-03 08:22:06 +0800 |
commit | 01408ec579075e99c99fd294a881af3dc2347b1d (patch) | |
tree | 17c93326b835f9756a4206ac1e36d36085e10534 | |
parent | 10d9735b8fd07d3f71408bf1cf4c0a9c30226b70 (diff) | |
download | freebsd-ports-gnome-01408ec579075e99c99fd294a881af3dc2347b1d.tar.gz freebsd-ports-gnome-01408ec579075e99c99fd294a881af3dc2347b1d.tar.zst freebsd-ports-gnome-01408ec579075e99c99fd294a881af3dc2347b1d.zip |
Fix build on 6.x
Pointed out by: pointy hat via kris
-rw-r--r-- | audio/bmp-faad/Makefile | 4 | ||||
-rw-r--r-- | audio/xmms-faad/Makefile | 4 |
2 files changed, 6 insertions, 2 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 .; \ diff --git a/audio/xmms-faad/Makefile b/audio/xmms-faad/Makefile index 909959e7d8f2..297d05207cb4 100644 --- a/audio/xmms-faad/Makefile +++ b/audio/xmms-faad/Makefile @@ -35,7 +35,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 @@ -49,6 +49,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 .; \ |