svn commit: r375689 - in head/audio/libsidplay2: . files

Tijl Coosemans tijl at FreeBSD.org
Sat Dec 27 17:53:11 UTC 2014


Author: tijl
Date: Sat Dec 27 17:53:10 2014
New Revision: 375689
URL: https://svnweb.freebsd.org/changeset/ports/375689
QAT: https://qat.redports.org/buildarchive/r375689/

Log:
  Enable -fPIC only for libresid-builder.a

Added:
  head/audio/libsidplay2/files/patch-configure   (contents, props changed)
Modified:
  head/audio/libsidplay2/Makefile

Modified: head/audio/libsidplay2/Makefile
==============================================================================
--- head/audio/libsidplay2/Makefile	Sat Dec 27 15:28:46 2014	(r375688)
+++ head/audio/libsidplay2/Makefile	Sat Dec 27 17:53:10 2014	(r375689)
@@ -3,7 +3,7 @@
 
 PORTNAME=	libsidplay2
 PORTVERSION=	2.1.1
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	audio emulators
 MASTER_SITES=	SF/sidplay2/sidplay2/sidplay-libs-${PORTVERSION}
 DISTNAME=	sidplay-libs-${PORTVERSION}
@@ -16,8 +16,6 @@ INSTALL_TARGET=	install-strip
 USES=		gmake libtool pathfix pkgconfig
 USE_LDCONFIG=	yes
 
-CFLAGS_amd64+=	-fPIC
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|g' \
 		${WRKSRC}/libsidutils/src/ini/ini.cpp

Added: head/audio/libsidplay2/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/libsidplay2/files/patch-configure	Sat Dec 27 17:53:10 2014	(r375689)
@@ -0,0 +1,10 @@
+--- configure.orig
++++ configure
+@@ -1745,6 +1745,7 @@
+ echo; echo "Configuring resid-builder..."
+ cd $pwd/builders/resid-builder
+ if ! eval ./configure $ac_configure_args \
++--with-pic \
+ --with-sidplay2-includes=$pwd/libsidplay/include \
+ --with-sidplay2-library=$pwd/libsidplay/src \
+ --with-resid-includes=$pwd/resid \


More information about the svn-ports-head mailing list