diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-12-27 17:53:10 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-12-27 17:53:10 +0000 |
commit | 1c89770e45acd47d668932accd79bfc5a14f8467 (patch) | |
tree | 8d3cd7f66ccd07fe5e7144bfd671c7bf0fa97f86 /audio/libsidplay2 | |
parent | 533947cd110ee335b615a45c5f1182d55e6e2765 (diff) | |
download | ports-1c89770e45acd47d668932accd79bfc5a14f8467.tar.gz ports-1c89770e45acd47d668932accd79bfc5a14f8467.zip |
Enable -fPIC only for libresid-builder.a
Notes
Notes:
svn path=/head/; revision=375689
Diffstat (limited to 'audio/libsidplay2')
-rw-r--r-- | audio/libsidplay2/Makefile | 4 | ||||
-rw-r--r-- | audio/libsidplay2/files/patch-configure | 10 |
2 files changed, 11 insertions, 3 deletions
diff --git a/audio/libsidplay2/Makefile b/audio/libsidplay2/Makefile index 456a41353999..1537bdc2272a 100644 --- a/audio/libsidplay2/Makefile +++ b/audio/libsidplay2/Makefile @@ -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 diff --git a/audio/libsidplay2/files/patch-configure b/audio/libsidplay2/files/patch-configure new file mode 100644 index 000000000000..d06a85cb38df --- /dev/null +++ b/audio/libsidplay2/files/patch-configure @@ -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 \ |