diff options
author | arved <arved@FreeBSD.org> | 2004-02-20 15:04:23 +0000 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2004-02-20 15:04:23 +0000 |
commit | 154f1a2d1f3824a7408edc1c0a53fc2da718f3c7 (patch) | |
tree | a8b56b87acde6097e19eea7073a9f3d09591ef2b /audio/xmms-mp3cue | |
parent | 2404f288188f5d1acd9f8447f2517bdc538f19df (diff) | |
download | FreeBSD-ports-154f1a2d1f3824a7408edc1c0a53fc2da718f3c7.zip FreeBSD-ports-154f1a2d1f3824a7408edc1c0a53fc2da718f3c7.tar.gz |
Fix build on AMD64
PR: 63103
Submitted by: Hendrik Scholz <hendrik@scholz.net>
Diffstat (limited to 'audio/xmms-mp3cue')
-rw-r--r-- | audio/xmms-mp3cue/Makefile | 8 | ||||
-rw-r--r-- | audio/xmms-mp3cue/files/patch-configure | 11 |
2 files changed, 18 insertions, 1 deletions
diff --git a/audio/xmms-mp3cue/Makefile b/audio/xmms-mp3cue/Makefile index 9b1b74d..b1e3954 100644 --- a/audio/xmms-mp3cue/Makefile +++ b/audio/xmms-mp3cue/Makefile @@ -23,7 +23,13 @@ USE_X_PREFIX= yes PLIST_SUB= PORTDOCS=${DISTNAME} +.include <bsd.port.pre.mk> + +.if ${ARCH} == "amd64" +CONFIGURE_ENV= CFLAGS="-fPIC" +.endif + post-patch: @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/*.c -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/audio/xmms-mp3cue/files/patch-configure b/audio/xmms-mp3cue/files/patch-configure new file mode 100644 index 0000000..3bbc247 --- /dev/null +++ b/audio/xmms-mp3cue/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Fri Feb 20 15:59:26 2004 ++++ configure Fri Feb 20 15:59:57 2004 +@@ -882,7 +882,7 @@ + echo $ac_n "checking "XMMS cflags"""... $ac_c" 1>&6 + echo "configure:884: checking "XMMS cflags"" >&5 + XMMS_CFLAGS=`xmms-config --cflags` +-CFLAGS="$XMMS_CFLAGS" ++CFLAGS="$CFLAGS $XMMS_CFLAGS" + echo "$ac_t""yes" 1>&6 + + echo $ac_n "checking "XMMS installpath"""... $ac_c" 1>&6 |