diff options
author | pav <pav@FreeBSD.org> | 2005-10-19 03:28:35 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-10-19 03:28:35 +0800 |
commit | cc022c5537289b5ca9606f6eb78c59958e85f042 (patch) | |
tree | 787e94b0db3389b747f9afa71d2421827d25dbc5 | |
parent | b73cdb843b9167b7579bdb4cc0f31605c25bf0c3 (diff) | |
download | freebsd-ports-gnome-cc022c5537289b5ca9606f6eb78c59958e85f042.tar.gz freebsd-ports-gnome-cc022c5537289b5ca9606f6eb78c59958e85f042.tar.zst freebsd-ports-gnome-cc022c5537289b5ca9606f6eb78c59958e85f042.zip |
- Unbreak, at least on i386/6.0
Approved by: green (maintainer)
-rw-r--r-- | audio/xmms-imms/Makefile | 21 | ||||
-rw-r--r-- | audio/xmms-imms/files/patch-vars.mk.in | 2 |
2 files changed, 14 insertions, 9 deletions
diff --git a/audio/xmms-imms/Makefile b/audio/xmms-imms/Makefile index 8db45aed902c..829379c0e13f 100644 --- a/audio/xmms-imms/Makefile +++ b/audio/xmms-imms/Makefile @@ -10,22 +10,19 @@ PORTVERSION= 1.2a PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PORTNAME} +MASTER_SITE_SUBDIR= ${PORTNAME} PKGNAMEPREFIX= xmms- MAINTAINER= green@FreeBSD.org COMMENT= Automatic, weight-based playlist ordering plugin for XMMS -BUILD_DEPENDS= sox:${PORTSDIR}/audio/sox +BUILD_DEPENDS= sox:${PORTSDIR}/audio/sox \ + ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3 LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms \ sqlite3:${PORTSDIR}/databases/sqlite3 \ pcre.0:${PORTSDIR}/devel/pcre \ fftw3f.3:${PORTSDIR}/math/fftw3-float \ - tag.4:${PORTSDIR}/audio/taglib - -BROKEN= Does not compile -DEPRECATED= "${BROKEN}" -EXPIRATION_DATE=2005-09-22 + tag.5:${PORTSDIR}/audio/taglib USE_BZIP2= yes USE_X_PREFIX= yes @@ -40,13 +37,21 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ CONFIGURE_ARGS+=--enable-debug .endif INSTALLS_SHLIB= yes +USE_REINPLACE= yes .include <bsd.port.pre.mk> +.if ${ARCH} != "i386" +BROKEN= "Does not compile" +.endif + .if ${OSVERSION} < 500000 -USE_REINPLACE= yes +BROKEN= "Does not compile" +.endif post-patch: + ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g' ${WRKSRC}/vars.mk.in +.if ${OSVERSION} < 500000 @cd ${WRKSRC} && \ ${REINPLACE_CMD} 's:#include.<stdint\.h>:#include <sys/types.h>:' \ players/xmms/plugin.h analyzer/spectrum.h analyzer/analyzer.cc diff --git a/audio/xmms-imms/files/patch-vars.mk.in b/audio/xmms-imms/files/patch-vars.mk.in index a50325d848cf..667498cecb59 100644 --- a/audio/xmms-imms/files/patch-vars.mk.in +++ b/audio/xmms-imms/files/patch-vars.mk.in @@ -12,7 +12,7 @@ -LDFLAGS = `xmms-config --libs` @LIBS@ +CPPFLAGS = `xmms-config --cflags` @XCPPFLAGS@ @CPPFLAGS@ @CFLAGS@ -Wall -fPIC -D_REENTRANT -I../ +CXXFLAGS = ${CPPFLAGS} -+LDFLAGS = @LDFLAGS@ `xmms-config --libs` -lc -lm @LIBS@ ++LDFLAGS = @LDFLAGS@ `xmms-config --libs` -lc -lm -lsqlite3 -lpcre @LIBS@ %%PTHREAD_LIBS%% ARFLAGS = rs default: all |