Fix build on AMD64
PR: 63103 Submitted by: Hendrik Scholz <hendrik@scholz.net>
This commit is contained in:
parent
985f6f8890
commit
deb8090886
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=101503
@ -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>
|
||||
|
11
audio/xmms-mp3cue/files/patch-configure
Normal file
11
audio/xmms-mp3cue/files/patch-configure
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user