diff options
author | marino <marino@FreeBSD.org> | 2014-10-01 17:42:39 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-10-01 17:42:39 +0800 |
commit | c92fe079f65154f81ddcc8ce0812375e6b641a7e (patch) | |
tree | 8ea099416ee7ec42e8b13401e0d5fbd784db141a /net-mgmt/nagios4 | |
parent | 177fcc6a779bc8f7a7b51b95a8281c0b3f63a2e1 (diff) | |
download | freebsd-ports-gnome-c92fe079f65154f81ddcc8ce0812375e6b641a7e.tar.gz freebsd-ports-gnome-c92fe079f65154f81ddcc8ce0812375e6b641a7e.tar.zst freebsd-ports-gnome-c92fe079f65154f81ddcc8ce0812375e6b641a7e.zip |
net-mgmt/nagios4: Unbreak on DF (no-op for FreeBSD)
Diffstat (limited to 'net-mgmt/nagios4')
-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 |