summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2017-02-13 22:13:34 +0000
committertijl <tijl@FreeBSD.org>2017-02-13 22:13:34 +0000
commitec9ff16fc00cef178c5f83835f5f5b7aadedc799 (patch)
tree725b1926dd0d59647b929c632d71d5e0131b1c59
parentcb03c9a0cdc269f9c0ba99ac85e060dfeb8a96f0 (diff)
downloadFreeBSD-ports-ec9ff16fc00cef178c5f83835f5f5b7aadedc799.zip
FreeBSD-ports-ec9ff16fc00cef178c5f83835f5f5b7aadedc799.tar.gz
Remove -fPIC from audio/audiere and add it to audio/dumb where the real
problem is. audio/dumb only provides a static library and audio/audiere tries to link that into a shared library.
-rw-r--r--audio/audiere/Makefile4
-rw-r--r--audio/dumb/Makefile7
2 files changed, 4 insertions, 7 deletions
diff --git a/audio/audiere/Makefile b/audio/audiere/Makefile
index 45ad97c..0a6b7a4 100644
--- a/audio/audiere/Makefile
+++ b/audio/audiere/Makefile
@@ -3,7 +3,7 @@
PORTNAME= audiere
PORTVERSION= 1.9.4
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= audio
MASTER_SITES= SF
@@ -22,8 +22,6 @@ CONFIGURE_ENV= PTHREAD_LIBS="-lpthread"
CPPFLAGS+= -I${LOCALBASE}/include/speex -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-CFLAGS_aarch64= -fPIC
-
PORTDOCS= changelog.txt cvs.txt dependencies.txt faq.txt glossary.txt \
license.txt overview.txt readme.txt release-howto.txt \
tutorial.txt
diff --git a/audio/dumb/Makefile b/audio/dumb/Makefile
index 0066fe3..fd57382 100644
--- a/audio/dumb/Makefile
+++ b/audio/dumb/Makefile
@@ -3,7 +3,7 @@
PORTNAME= dumb
PORTVERSION= 0.9.3
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= audio
MASTER_SITES= SF
@@ -23,9 +23,8 @@ ALLEGRO_CONFLICTS= dumb-[0-9]*
ALLEGRO_MAKE_ARGS_OFF= _PORT_ALLEGRO_CFLAGS=
ALLEGRO_CONFLICTS_OFF= dumb-allegro-[0-9]*
-CFLAGS_amd64= -fPIC
-CFLAGS_ia64= -fPIC
-CFLAGS_sparc64= -fPIC
+# libdumb.a is linked into libaudiere.so from audio/audiere.
+CFLAGS+= -fPIC
post-patch:
@${REINPLACE_CMD} -e 's|_INSTALL_PATH := |&$${DESTDIR}|' ${WRKSRC}/Makefile
OpenPOWER on IntegriCloud