openbsd-ports/net/opal/patches/patch-plugins_configure
2013-03-12 05:19:57 +00:00

49 lines
1.4 KiB
Plaintext

$OpenBSD: patch-plugins_configure,v 1.10 2013/03/12 05:19:57 brad Exp $
--- plugins/configure.orig Tue Feb 19 21:18:10 2013
+++ plugins/configure Mon Mar 11 19:55:41 2013
@@ -6481,7 +6481,7 @@ $as_echo "#define PLUGIN_CODEC_DLL_EXPORTS 1" >>confde
*)
CFLAGS="$CFLAGS -fPIC"
- LDSO='-shared -Wl,-soname,$(SONAME)'
+ LDSO='-shared -fPIC'
PLUGINEXT=so
for ac_header in sys/time.h sys/file.h netinet/in.h
do :
@@ -7000,7 +7000,7 @@ else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
- #include <gsm/gsm.h>
+ #include <gsm.h>
int
main ()
@@ -7026,7 +7026,7 @@ fi
$as_echo "$opal_gsm" >&6; }
if test "x${opal_gsm}" = "xyes" ; then
- GSM_CFLAGS="-I/usr/include/gsm -I/usr/local/include/gsm"
+ GSM_CFLAGS="-I${LOCALBASE}/include"
GSM_LIBS="-lgsm"
fi
@@ -7107,7 +7107,7 @@ else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
- #include <gsm/gsm.h>
+ #include <gsm.h>
int
main ()
@@ -7133,7 +7133,7 @@ fi
$as_echo "$opal_gsm" >&6; }
if test "x${opal_gsm}" = "xyes" ; then
- GSM_CFLAGS="-I/usr/include/gsm -I/usr/local/include/gsm"
+ GSM_CFLAGS="-I${LOCALBASE}/include"
GSM_LIBS="-lgsm"
fi