diff options
author | John Marino <marino@FreeBSD.org> | 2014-10-01 09:42:39 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2014-10-01 09:42:39 +0000 |
commit | 20d2c4c68fff75f5549a6ec295cbc817ba7e1486 (patch) | |
tree | 8ea099416ee7ec42e8b13401e0d5fbd784db141a /net-mgmt | |
parent | 03fa8e3a2a3696c34c1fb347e2fd596347209690 (diff) | |
download | ports-20d2c4c68fff75f5549a6ec295cbc817ba7e1486.tar.gz ports-20d2c4c68fff75f5549a6ec295cbc817ba7e1486.zip |
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/nagios4/files/patch-configure | 11 | ||||
-rw-r--r-- | net-mgmt/nagios4/files/patch-lib__runcmd.c | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/net-mgmt/nagios4/files/patch-configure b/net-mgmt/nagios4/files/patch-configure new file mode 100644 index 000000000000..ca02e39998eb --- /dev/null +++ b/net-mgmt/nagios4/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig 2014-08-12 15:00:01 UTC ++++ configure +@@ -7766,7 +7766,7 @@ $as_echo_n "checking for linker flags fo + MOD_LDFLAGS="-shared" + MOD_CFLAGS="-fPIC" + ;; +- freebsd*) ++ dragonfly*|freebsd*) + MOD_LDFLAGS="-shared" + MOD_CFLAGS="-fPIC" + ;; diff --git a/net-mgmt/nagios4/files/patch-lib__runcmd.c b/net-mgmt/nagios4/files/patch-lib__runcmd.c index 3db6bb8e39d4..359d68b47c9b 100644 --- a/net-mgmt/nagios4/files/patch-lib__runcmd.c +++ b/net-mgmt/nagios4/files/patch-lib__runcmd.c @@ -5,7 +5,7 @@ /* Determine whether we have setenv()/unsetenv() (see setenv(3) on Linux) */ -#if _BSD_SOURCE || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 -+#if __FreeBSD__ || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 ++#if defined(__DragonFly__) || __FreeBSD__ || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 # define HAVE_SETENV #endif |