svn commit: r434057 - in head/audio: audiere dumb

Tijl Coosemans tijl at FreeBSD.org
Mon Feb 13 22:13:35 UTC 2017


Author: tijl
Date: Mon Feb 13 22:13:34 2017
New Revision: 434057
URL: https://svnweb.freebsd.org/changeset/ports/434057

Log:
  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.

Modified:
  head/audio/audiere/Makefile
  head/audio/dumb/Makefile

Modified: head/audio/audiere/Makefile
==============================================================================
--- head/audio/audiere/Makefile	Mon Feb 13 21:48:12 2017	(r434056)
+++ head/audio/audiere/Makefile	Mon Feb 13 22:13:34 2017	(r434057)
@@ -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

Modified: head/audio/dumb/Makefile
==============================================================================
--- head/audio/dumb/Makefile	Mon Feb 13 21:48:12 2017	(r434056)
+++ head/audio/dumb/Makefile	Mon Feb 13 22:13:34 2017	(r434057)
@@ -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


More information about the svn-ports-all mailing list