[Midnightbsd-cvs] mports [22113] trunk/sysutils/monit/files: add configure patches
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Nov 17 21:25:36 EST 2016
Revision: 22113
http://svnweb.midnightbsd.org/mports/?rev=22113
Author: laffer1
Date: 2016-11-17 21:25:36 -0500 (Thu, 17 Nov 2016)
Log Message:
-----------
add configure patches
Added Paths:
-----------
trunk/sysutils/monit/files/patch-configure
trunk/sysutils/monit/files/patch-libmonit-configure
Added: trunk/sysutils/monit/files/patch-configure
===================================================================
--- trunk/sysutils/monit/files/patch-configure (rev 0)
+++ trunk/sysutils/monit/files/patch-configure 2016-11-18 02:25:36 UTC (rev 22113)
@@ -0,0 +1,23 @@
+--- configure.orig 2016-11-17 19:06:51.000000000 -0500
++++ configure 2016-11-17 19:07:53.000000000 -0500
+@@ -5494,7 +5494,7 @@
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+-freebsd* | dragonfly*)
++freebsd* | dragonfly* | midnightbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
+ case $host_cpu in
+ i*86 )
+@@ -13924,6 +13924,11 @@
+ CFLAGS="$CFLAGS -D _REENTRANT"
+ test_kvm="true"
+ use_pam=0 # No PAM on OpenBSD (supports BSD Auth API instead of PAM)
++elif test "$architecture" = "MidnightBSD"
++then
++ ARCH="FREEBSD"
++ CFLAGS="$CFLAGS -D _REENTRANT"
++ test_kvm="true"
+ elif test "$architecture" = "FreeBSD"
+ then
+ ARCH="FREEBSD"
Property changes on: trunk/sysutils/monit/files/patch-configure
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/sysutils/monit/files/patch-libmonit-configure
===================================================================
--- trunk/sysutils/monit/files/patch-libmonit-configure (rev 0)
+++ trunk/sysutils/monit/files/patch-libmonit-configure 2016-11-18 02:25:36 UTC (rev 22113)
@@ -0,0 +1,24 @@
+--- libmonit/configure.orig 2016-11-17 19:08:38.000000000 -0500
++++ libmonit/configure 2016-11-17 19:09:37.000000000 -0500
+@@ -5196,7 +5196,7 @@
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+-freebsd* | dragonfly*)
++freebsd* | dragonfly* | midnightbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
+ case $host_cpu in
+ i*86 )
+@@ -12118,6 +12118,12 @@
+
+ $as_echo "#define LINUX 1" >>confdefs.h
+
++elif test "$architecture" = "MidnightBSD"
++then
++ CFLAGS="$CFLAGS -D _REENTRANT"
++
++$as_echo "#define FREEBSD 1" >>confdefs.h
++
+ elif test "$architecture" = "FreeBSD"
+ then
+ CFLAGS="$CFLAGS -D _REENTRANT"
Property changes on: trunk/sysutils/monit/files/patch-libmonit-configure
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list