aboutsummaryrefslogtreecommitdiff
path: root/audio/libsidplay2
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2015-01-18 19:40:27 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2015-01-18 19:40:27 +0000
commit1f1a563e4dad516b6a43afd073f3b9e606e6c9b8 (patch)
treeae6232733613463f1fcd803ab30dd1e38ab900ca /audio/libsidplay2
parentab68814eff0c620c32f97949a08029acc47789a4 (diff)
downloadports-1f1a563e4dad516b6a43afd073f3b9e606e6c9b8.tar.gz
ports-1f1a563e4dad516b6a43afd073f3b9e606e6c9b8.zip
Compile libresidc.a with -fPIC. The library isn't installed but is linked
into libresid-builder.a which some ports (e.g. xmms2) want to link into shared libraries so it must be compiled with -fPIC. Silence a check-plist error while here. Reported by: amdmi3
Notes
Notes: svn path=/head/; revision=377343
Diffstat (limited to 'audio/libsidplay2')
-rw-r--r--audio/libsidplay2/Makefile2
-rw-r--r--audio/libsidplay2/files/patch-configure12
-rw-r--r--audio/libsidplay2/pkg-plist1
3 files changed, 12 insertions, 3 deletions
diff --git a/audio/libsidplay2/Makefile b/audio/libsidplay2/Makefile
index 1537bdc2272a..20c7c1cb277f 100644
--- a/audio/libsidplay2/Makefile
+++ b/audio/libsidplay2/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libsidplay2
PORTVERSION= 2.1.1
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= audio emulators
MASTER_SITES= SF/sidplay2/sidplay2/sidplay-libs-${PORTVERSION}
DISTNAME= sidplay-libs-${PORTVERSION}
diff --git a/audio/libsidplay2/files/patch-configure b/audio/libsidplay2/files/patch-configure
index d06a85cb38df..983ff296f61f 100644
--- a/audio/libsidplay2/files/patch-configure
+++ b/audio/libsidplay2/files/patch-configure
@@ -1,6 +1,14 @@
---- configure.orig
+--- configure.orig 2004-06-14 20:24:44 UTC
+++ configure
-@@ -1745,6 +1745,7 @@
+@@ -1737,6 +1737,7 @@ fi
+ echo; echo "Configuring resid..."
+ cd "$pwd/resid"
+ if ! eval ./configure $ac_configure_args \
++--with-pic \
+ --disable-resid-install;
+ then
+ exit
+@@ -1745,6 +1746,7 @@ fi
echo; echo "Configuring resid-builder..."
cd $pwd/builders/resid-builder
if ! eval ./configure $ac_configure_args \
diff --git a/audio/libsidplay2/pkg-plist b/audio/libsidplay2/pkg-plist
index eb9d13628f77..19a8220fc3ac 100644
--- a/audio/libsidplay2/pkg-plist
+++ b/audio/libsidplay2/pkg-plist
@@ -29,3 +29,4 @@ lib/libsidutils.so.0.0.4
lib/sidplay/builders/libresid-builder.a
libdata/pkgconfig/libsidplay2.pc
libdata/pkgconfig/libsidutils.pc
+@comment @dir include/resid