freebsd-ports/net-mgmt/nagios4/files/patch-configure
Mathieu Arnold cd66fda28d Revert the update to 4.2.
It currently exits with a bus error, which is, not good.

Reported by:	many
Sponsored by:	Absolight
2016-08-23 14:36:01 +00:00

27 lines
520 B
Text

--- configure.orig 2015-08-19 21:49:52 UTC
+++ configure
@@ -6016,7 +6016,6 @@ cat >>confdefs.h <<_ACEOF
#define DEFAULT_NAGIOS_GROUP "$nagios_grp"
_ACEOF
-INSTALL_OPTS="-o $nagios_user -g $nagios_grp"
@@ -6037,7 +6036,6 @@ fi
-COMMAND_OPTS="-o $command_user -g $command_grp"
MAIL_PROG=no
@@ -7768,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"
;;