diff options
-rw-r--r-- | audio/xmms-imms/Makefile | 17 | ||||
-rw-r--r-- | audio/xmms-imms/files/patch-rules.mk | 2 |
2 files changed, 13 insertions, 6 deletions
diff --git a/audio/xmms-imms/Makefile b/audio/xmms-imms/Makefile index ca267dcbb195..039cf810dd9e 100644 --- a/audio/xmms-imms/Makefile +++ b/audio/xmms-imms/Makefile @@ -23,10 +23,6 @@ LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms \ fftw3f.3:${PORTSDIR}/math/fftw3-float \ tag.4:${PORTSDIR}/audio/taglib -BROKEN= "Does not compile" -EXPIRATION_DATE=2005-02-18 -DEPRECATED= ${BROKEN} - USE_BZIP2= yes USE_X_PREFIX= yes USE_GNOME= gtk12 @@ -41,4 +37,15 @@ CONFIGURE_ARGS+=--enable-debug .endif INSTALLS_SHLIB= yes -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +USE_REINPLACE= yes + +post-patch: + @cd ${WRKSRC} && \ + ${REINPLACE_CMD} 's:#include.<stdint\.h>:#include <sys/types.h>:' \ + players/xmms/plugin.h analyzer/spectrum.h analyzer/analyzer.cc +.endif + +.include <bsd.port.post.mk> diff --git a/audio/xmms-imms/files/patch-rules.mk b/audio/xmms-imms/files/patch-rules.mk index 90219ddc48ea..277186475a7c 100644 --- a/audio/xmms-imms/files/patch-rules.mk +++ b/audio/xmms-imms/files/patch-rules.mk @@ -1,5 +1,5 @@ --- rules.mk.orig Wed Aug 18 01:56:28 2004 -+++ rules.mk Tue Aug 31 16:13:51 2004 ++++ rules.mk Sat Jan 22 19:49:37 2005 @@ -26,7 +26,7 @@ endif |