ports/sysutils/syslog-ng3-devel/files/patch-configure
Martin Wilke 36dc0b3c5a syslog-ng (Syslog New Generation) is a powerful replacement for the standard
syslogd.  Features include:

  - ability to filter messages based on content using regular expressions
  - forwarding logs on TCP

WWW: http://www.balabit.com/products/syslog_ng/

-Vince Valenti
vince@blue-box.net

PR:		ports/105370
Submitted by:	Ivan Lago <ivan.lago at ifom-ieo-campus.it>
2006-11-14 12:46:33 +00:00

23 lines
872 B
Text

--- configure.orig Wed Nov 8 15:14:56 2006
+++ configure Wed Nov 8 15:16:36 2006
@@ -3426,7 +3426,7 @@
echo $ECHO_N "checking how to enable static linking for certain libraries... $ECHO_C" >&6
ldversion=`ld -V 2>&1 | head -1`
ostype=`uname -s`
-if echo $ldversion | egrep "GNU|Solaris" > /dev/null; then
+if echo $ldversion | egrep "Solaris" > /dev/null; then
LD_START_STATIC="-Wl,-Bstatic"
LD_END_STATIC="-Wl,-Bdynamic"
echo "$as_me:$LINENO: result: GNU or Solaris" >&5
@@ -3441,6 +3441,11 @@
LD_END_STATIC="-Wl,-bdynamic"
echo "$as_me:$LINENO: result: AIX" >&5
echo "${ECHO_T}AIX" >&6
+elif test "$ostype" = "FreeBSD"; then
+ LD_START_STATIC=""
+ LD_END_STATIC=""
+ echo "$as_me:$LINENO: result: FreeBSD" >&5
+echo "${ECHO_T}FreeBSD" >&6
else
LD_START_STATIC=""
LD_END_STATIC=""