Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Dec 2014 17:53:11 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375689 - in head/audio/libsidplay2: . files
Message-ID:  <201412271753.sBRHrBjb014363@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412271753.sBRHrBjb014363>