ports/sysutils/syslog-ng313/files/patch-configure
Cy Schubert bddfdf2afa Welcome the new syslog-ng 3.13 in syslog-ng313.
Our syslog-ng upline recommends the meta-port bump to 313.

Submitted by:	Peter Czanik (CzP) <peter.czanik@balabit.com>
		Balabit / syslog-ng upstream
2017-12-06 20:42:13 +00:00

41 lines
1.7 KiB
Text

--- configure.orig 2016-08-10 07:38:05.000000000 -0700
+++ configure 2016-08-10 12:33:00.605666000 -0700
@@ -10250,7 +10250,7 @@
hardcode_minus_L=no
hardcode_shlibpath_var=unsupported
inherit_rpath=no
- link_all_deplibs=unknown
+ link_all_deplibs=no
module_cmds=
module_expsym_cmds=
old_archive_from_new_cmds=
@@ -13035,7 +13036,7 @@
old_striplib=
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
-if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "strip" >/dev/null; then
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
@@ -15195,9 +15196,9 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNET" >&5
$as_echo_n "checking for LIBNET... " >&6; }
if test "x$with_libnet" = "x"; then
- LIBNET_CONFIG="`which libnet-config`"
+ LIBNET_CONFIG="`which libnet11-config`"
else
- LIBNET_CONFIG="$with_libnet/libnet-config"
+ LIBNET_CONFIG="$with_libnet/libnet11-config"
fi
if test -n "$LIBNET_CONFIG" -a -x "$LIBNET_CONFIG"; then
@@ -16424,7 +16425,7 @@
if test -e "$JAVA_HOME_CHECKER"; then
JNI_HOME=`$JAVA_HOME_CHECKER`
else
- JNI_HOME=`echo $JAVAC_BIN | sed "s/\(.*\)[/]bin[/]java.*/\1\//"`
+ JNI_HOME=`echo $JAVAC_BIN | sed "s/\(.*\)[/]bin[/]java.*/\1\/openjdk\*/"`
fi
JNI_LIBDIR=`find $JNI_HOME \( -name "libjvm.so" -or -name "libjvm.dylib" \) \