Revision: 141277 https://trac.macports.org/changeset/141277 Author: ryandesign@macports.org Date: 2015-10-13 23:08:22 -0700 (Tue, 13 Oct 2015) Log Message: ----------- net-snmp: fix OS names in darwin 11 through 15 headers and actually install them (because some programs include the platform header) Modified Paths: -------------- trunk/dports/net/net-snmp/Portfile trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin14.h.diff trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin15.h.diff Added Paths: ----------- trunk/dports/net/net-snmp/files/patch-Makefile.in.diff trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin11.h.diff trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin12.h.diff trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin13.h.diff Modified: trunk/dports/net/net-snmp/Portfile =================================================================== --- trunk/dports/net/net-snmp/Portfile 2015-10-14 05:41:57 UTC (rev 141276) +++ trunk/dports/net/net-snmp/Portfile 2015-10-14 06:08:22 UTC (rev 141277) @@ -5,6 +5,7 @@ name net-snmp version 5.7.3 +revision 1 categories net license BSD platforms darwin @@ -39,8 +40,12 @@ } patchfiles patch-configure.diff +patchfiles-append patch-include-net-snmp-system-darwin11.h.diff +patchfiles-append patch-include-net-snmp-system-darwin12.h.diff +patchfiles-append patch-include-net-snmp-system-darwin13.h.diff patchfiles-append patch-include-net-snmp-system-darwin14.h.diff patchfiles-append patch-include-net-snmp-system-darwin15.h.diff +patchfiles-append patch-Makefile.in.diff configure.env-append PERLPROG=${prefix}/bin/perl${perl_version} Added: trunk/dports/net/net-snmp/files/patch-Makefile.in.diff =================================================================== --- trunk/dports/net/net-snmp/files/patch-Makefile.in.diff (rev 0) +++ trunk/dports/net/net-snmp/files/patch-Makefile.in.diff 2015-10-14 06:08:22 UTC (rev 141277) @@ -0,0 +1,12 @@ +--- Makefile.in.orig 2014-12-08 14:23:22.000000000 -0600 ++++ Makefile.in 2015-10-14 00:33:20.000000000 -0500 +@@ -18,7 +18,8 @@ + INSTALLHEADERS=version.h net-snmp-features.h + INCLUDESUBDIR=system + INCLUDESUBDIRHEADERS= aix.h bsd.h bsdi3.h bsdi4.h bsdi.h cygwin.h \ +- darwin.h darwin7.h darwin8.h darwin9.h darwin10.h dragonfly.h dynix.h \ ++ darwin.h darwin7.h darwin8.h darwin9.h darwin10.h darwin11.h \ ++ darwin12.h darwin13.h darwin14.h darwin15.h dragonfly.h dynix.h \ + freebsd2.h freebsd3.h freebsd4.h freebsd5.h freebsd6.h \ + freebsd7.h freebsd8.h freebsd9.h freebsd10.h freebsd11.h \ + freebsd12.h freebsd.h \ Added: trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin11.h.diff =================================================================== --- trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin11.h.diff (rev 0) +++ trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin11.h.diff 2015-10-14 06:08:22 UTC (rev 141277) @@ -0,0 +1,9 @@ +--- include/net-snmp/system/darwin11.h.orig 2014-12-08 14:23:22.000000000 -0600 ++++ include/net-snmp/system/darwin11.h 2015-10-14 00:23:08.000000000 -0500 +@@ -1,5 +1,5 @@ + /* +- * While Darwin 10 (aka, Mac OS X 10.6 Snow Leopard) is "BSD-like", it differs ++ * While Darwin 11 (aka, Mac OS X 10.7 Lion) is "BSD-like", it differs + * substantially enough to not warrant pretending it is a BSD flavor. + * This first section are the vestigal BSD remnants. + */ Added: trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin12.h.diff =================================================================== --- trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin12.h.diff (rev 0) +++ trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin12.h.diff 2015-10-14 06:08:22 UTC (rev 141277) @@ -0,0 +1,9 @@ +--- include/net-snmp/system/darwin12.h.orig 2014-12-08 14:23:22.000000000 -0600 ++++ include/net-snmp/system/darwin12.h 2015-10-14 00:22:57.000000000 -0500 +@@ -1,5 +1,5 @@ + /* +- * While Darwin 10 (aka, Mac OS X 10.6 Snow Leopard) is "BSD-like", it differs ++ * While Darwin 12 (aka, OS X 10.8 Mountain Lion) is "BSD-like", it differs + * substantially enough to not warrant pretending it is a BSD flavor. + * This first section are the vestigal BSD remnants. + */ Added: trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin13.h.diff =================================================================== --- trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin13.h.diff (rev 0) +++ trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin13.h.diff 2015-10-14 06:08:22 UTC (rev 141277) @@ -0,0 +1,9 @@ +--- include/net-snmp/system/darwin13.h.orig 2014-12-08 14:23:22.000000000 -0600 ++++ include/net-snmp/system/darwin13.h 2015-10-14 00:22:42.000000000 -0500 +@@ -1,5 +1,5 @@ + /* +- * While Darwin 10 (aka, Mac OS X 10.6 Snow Leopard) is "BSD-like", it differs ++ * While Darwin 13 (aka, OS X 10.9 Mavericks) is "BSD-like", it differs + * substantially enough to not warrant pretending it is a BSD flavor. + * This first section are the vestigal BSD remnants. + */ Modified: trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin14.h.diff =================================================================== --- trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin14.h.diff 2015-10-14 05:41:57 UTC (rev 141276) +++ trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin14.h.diff 2015-10-14 06:08:22 UTC (rev 141277) @@ -1,5 +1,12 @@ ---- include/net-snmp/system/darwin14.h 2013-10-09 17:28:58.000000000 -0500 -+++ include/net-snmp/system/darwin14.h 2014-10-24 00:58:04.000000000 -0500 +--- include/net-snmp/system/darwin14.h.orig 2014-12-08 14:23:22.000000000 -0600 ++++ include/net-snmp/system/darwin14.h 2015-10-14 00:28:27.000000000 -0500 +@@ -1,5 +1,5 @@ + /* +- * While Darwin 10 (aka, Mac OS X 10.6 Snow Leopard) is "BSD-like", it differs ++ * While Darwin 14 (aka, OS X 10.10 Yosemite) is "BSD-like", it differs + * substantially enough to not warrant pretending it is a BSD flavor. + * This first section are the vestigal BSD remnants. + */ @@ -44,9 +44,9 @@ /* * This section defines Mac OS X 10.5 (and later) specific additions. Modified: trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin15.h.diff =================================================================== --- trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin15.h.diff 2015-10-14 05:41:57 UTC (rev 141276) +++ trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin15.h.diff 2015-10-14 06:08:22 UTC (rev 141277) @@ -1,5 +1,12 @@ ---- include/net-snmp/system/darwin15.h 2013-10-09 17:28:58.000000000 -0500 -+++ include/net-snmp/system/darwin15.h 2014-10-24 00:58:04.000000000 -0500 +--- include/net-snmp/system/darwin15.h.orig 2014-12-08 14:23:22.000000000 -0600 ++++ include/net-snmp/system/darwin15.h 2015-10-14 00:28:27.000000000 -0500 +@@ -1,5 +1,5 @@ + /* +- * While Darwin 10 (aka, Mac OS X 10.6 Snow Leopard) is "BSD-like", it differs ++ * While Darwin 15 (aka, OS X 10.11 El Capitan) is "BSD-like", it differs + * substantially enough to not warrant pretending it is a BSD flavor. + * This first section are the vestigal BSD remnants. + */ @@ -44,9 +44,9 @@ /* * This section defines Mac OS X 10.5 (and later) specific additions.
participants (1)
-
ryandesign@macports.org