diff options
author | tijl <tijl@FreeBSD.org> | 2015-01-19 03:40:27 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2015-01-19 03:40:27 +0800 |
commit | a0e8733036e9ecd4fe02e027fa6015420ebaef9c (patch) | |
tree | ae6232733613463f1fcd803ab30dd1e38ab900ca /audio | |
parent | ae0670b3f81b715d8839bbffff7b29c573814cb5 (diff) | |
download | freebsd-ports-gnome-a0e8733036e9ecd4fe02e027fa6015420ebaef9c.tar.gz freebsd-ports-gnome-a0e8733036e9ecd4fe02e027fa6015420ebaef9c.tar.zst freebsd-ports-gnome-a0e8733036e9ecd4fe02e027fa6015420ebaef9c.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
Diffstat (limited to 'audio')
-rw-r--r-- | audio/libsidplay2/Makefile | 2 | ||||
-rw-r--r-- | audio/libsidplay2/files/patch-configure | 12 | ||||
-rw-r--r-- | audio/libsidplay2/pkg-plist | 1 |
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 |