ports/sysutils/syslog-ng3-devel/files/patch-configure
Martin Wilke 323cc80169 - Fix Config Path
PR:             ports/105603
Submitted by:   Rob.Evers@flappie.debank.tv
Approved  by:   Maintainer
2006-11-16 11:41:23 +00:00

32 lines
1.1 KiB
Text

--- configure.orig Sat Oct 28 17:40:18 2006
+++ configure Thu Nov 16 10:45:49 2006
@@ -341,7 +341,7 @@
sbindir='${exec_prefix}/sbin'
libexecdir='${exec_prefix}/libexec'
datadir='${prefix}/share'
-sysconfdir='${prefix}/etc'
+sysconfdir='${prefix}/etc/syslog-ng'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
libdir='${exec_prefix}/lib'
@@ -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=""