[77217] trunk/dports/devel/readline/files/patch-shobj-conf.diff

jmr at macports.org jmr at macports.org
Wed Mar 23 19:48:54 PDT 2011


Revision: 77217
          http://trac.macports.org/changeset/77217
Author:   jmr at macports.org
Date:     2011-03-23 19:48:53 -0700 (Wed, 23 Mar 2011)
Log Message:
-----------
readline: detect future operating systems correctly

Modified Paths:
--------------
    trunk/dports/devel/readline/files/patch-shobj-conf.diff

Modified: trunk/dports/devel/readline/files/patch-shobj-conf.diff
===================================================================
--- trunk/dports/devel/readline/files/patch-shobj-conf.diff	2011-03-23 22:15:26 UTC (rev 77216)
+++ trunk/dports/devel/readline/files/patch-shobj-conf.diff	2011-03-24 02:48:53 UTC (rev 77217)
@@ -1,6 +1,13 @@
---- support/shobj-conf.orig	2009-01-04 14:32:42.000000000 -0500
-+++ support/shobj-conf	2009-03-06 23:36:29.000000000 -0500
-@@ -152,13 +152,13 @@
+--- support/shobj-conf.orig	2009-10-29 00:20:21.000000000 +1100
++++ support/shobj-conf	2011-03-24 13:43:03.000000000 +1100
+@@ -157,19 +157,19 @@
+ 	;;
+ 
+ # Darwin/MacOS X
+-darwin[89]*|darwin10*)
++darwin[89]*|darwin1[0-9]*)
+ 	SHOBJ_STATUS=supported
+ 	SHLIB_STATUS=supported
  	
  	SHOBJ_CFLAGS='-fno-common'
  
@@ -17,11 +24,13 @@
  
  	SHLIB_LIBS='-lncurses'	# see if -lcurses works on MacOS X 10.1 
  	;;
-@@ -176,10 +176,10 @@
+@@ -186,11 +186,11 @@
+ 	SHLIB_LIBSUFF='dylib'
  
  	case "${host_os}" in
- 	darwin[789]*|darwin10*)	SHOBJ_LDFLAGS=''
+-	darwin[789]*|darwin10*)	SHOBJ_LDFLAGS=''
 -			SHLIB_XLDFLAGS='-dynamiclib -arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'
++	darwin[789]*|darwin1[0-9]*)	SHOBJ_LDFLAGS=''
 +			SHLIB_XLDFLAGS='-dynamiclib -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'
  			;;
  	*)		SHOBJ_LDFLAGS='-dynamic'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110323/73db59fa/attachment.html>


More information about the macports-changes mailing list