Ignore:
Timestamp:
Mar 24, 2011, 2:48:53 AM (6 years ago)
Author:
jmr@…
Message:

readline: detect future operating systems correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/readline/files/patch-shobj-conf.diff

    r62307 r77217  
    1 --- support/shobj-conf.orig     2009-01-04 14:32:42.000000000 -0500
    2 +++ support/shobj-conf  2009-03-06 23:36:29.000000000 -0500
    3 @@ -152,13 +152,13 @@
     1--- support/shobj-conf.orig     2009-10-29 00:20:21.000000000 +1100
     2+++ support/shobj-conf  2011-03-24 13:43:03.000000000 +1100
     3@@ -157,19 +157,19 @@
     4        ;;
     5 
     6 # Darwin/MacOS X
     7-darwin[89]*|darwin10*)
     8+darwin[89]*|darwin1[0-9]*)
     9        SHOBJ_STATUS=supported
     10        SHLIB_STATUS=supported
    411       
    512        SHOBJ_CFLAGS='-fno-common'
     
    1825        SHLIB_LIBS='-lncurses'  # see if -lcurses works on MacOS X 10.1
    1926        ;;
    20 @@ -176,10 +176,10 @@
     27@@ -186,11 +186,11 @@
     28        SHLIB_LIBSUFF='dylib'
    2129 
    2230        case "${host_os}" in
    23         darwin[789]*|darwin10*) SHOBJ_LDFLAGS=''
     31-       darwin[789]*|darwin10*) SHOBJ_LDFLAGS=''
    2432-                       SHLIB_XLDFLAGS='-dynamiclib -arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'
     33+       darwin[789]*|darwin1[0-9]*)     SHOBJ_LDFLAGS=''
    2534+                       SHLIB_XLDFLAGS='-dynamiclib -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'
    2635                        ;;
Note: See TracChangeset for help on using the changeset viewer.