ports/audio/libsidplay2/files/patch-configure
Tijl Coosemans 1f1a563e4d 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
2015-01-18 19:40:27 +00:00

18 lines
523 B
Text

--- configure.orig 2004-06-14 20:24:44 UTC
+++ configure
@@ -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 \
+--with-pic \
--with-sidplay2-includes=$pwd/libsidplay/include \
--with-sidplay2-library=$pwd/libsidplay/src \
--with-resid-includes=$pwd/resid \