[144152] trunk/dports/net/net-snmp

ryandesign at macports.org ryandesign at macports.org
Sun Jan 3 01:57:24 PST 2016


Revision: 144152
          https://trac.macports.org/changeset/144152
Author:   ryandesign at macports.org
Date:     2016-01-03 01:57:24 -0800 (Sun, 03 Jan 2016)
Log Message:
-----------
net-snmp: Do not use flat_namespace. Do always use necessary frameworks (#50193)

Modified Paths:
--------------
    trunk/dports/net/net-snmp/Portfile
    trunk/dports/net/net-snmp/files/patch-configure.diff

Modified: trunk/dports/net/net-snmp/Portfile
===================================================================
--- trunk/dports/net/net-snmp/Portfile	2016-01-03 09:40:40 UTC (rev 144151)
+++ trunk/dports/net/net-snmp/Portfile	2016-01-03 09:57:24 UTC (rev 144152)
@@ -6,7 +6,7 @@
 
 name                    net-snmp
 version                 5.7.3
-revision                2
+revision                3
 categories              net
 license                 BSD
 platforms               darwin

Modified: trunk/dports/net/net-snmp/files/patch-configure.diff
===================================================================
--- trunk/dports/net/net-snmp/files/patch-configure.diff	2016-01-03 09:40:40 UTC (rev 144151)
+++ trunk/dports/net/net-snmp/files/patch-configure.diff	2016-01-03 09:57:24 UTC (rev 144152)
@@ -1,6 +1,38 @@
 --- configure.orig	2014-12-08 14:23:37.000000000 -0600
-+++ configure	2014-12-19 18:25:57.000000000 -0600
-@@ -23928,7 +23928,7 @@
++++ configure	2016-01-03 03:47:24.000000000 -0600
+@@ -10906,7 +10906,7 @@
+       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
+ 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
+ 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
+-	10.[012]*)
++	10.[012][,.]*)
+ 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
+ 	10.*)
+ 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
+@@ -15658,19 +15658,10 @@
+ 	fi
+ 	;;
+ 
+-    darwin8*|darwin9*|darwin10*|darwin11*|darwin12*|darwin13*)
+-        #   Flat Namespace linking                      (Mac OS/X)
++    darwin*)
++        #   Add frameworks                              (OS X)
+         #
+-        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether darwin ld might need -flat_namespace" >&5
+-$as_echo_n "checking whether darwin ld might need -flat_namespace... " >&6; }
+-	if test -z "$MACOSX_DEPLOYMENT_TARGET"; then
+-		LDFLAGS="-flat_namespace -framework CoreFoundation -framework CoreServices -framework DiskArbitration -framework IOKit $LDFLAGS"
+-		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+-$as_echo "yes" >&6; }
+-	else
+-		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+-$as_echo "no" >&6; }
+-	fi
++		LDFLAGS="-framework CoreFoundation -framework CoreServices -framework DiskArbitration -framework IOKit $LDFLAGS"
+ 	;;
+ 
+     *)
+@@ -23928,7 +23919,7 @@
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Perl cc" >&5
  $as_echo_n "checking for Perl cc... " >&6; }
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160103/8b7b8654/attachment.html>


More information about the macports-changes mailing list