Changeset 105375


Ignore:
Timestamp:
Apr 19, 2013, 6:19:25 AM (7 years ago)
Author:
dh@…
Message:

Correctly set MACOSX_DEVELOPMENT_TARGET on darwin versions 11 and 12 for perl5.16

Location:
trunk/dports/lang/perl5.16
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/perl5.16/Portfile

    r96978 r105375  
    66name            perl5.16
    77version         5.16.1
    8 revision        1
     8revision        2
    99set branch      [join [lrange [split ${version} .] 0 1] .]
    1010categories      lang
  • trunk/dports/lang/perl5.16/files/patch-hints_darwin.sh.diff

    r93583 r105375  
    99 dlext='bundle';
    1010 usedl='define';
    11 @@ -181,6 +180,27 @@ case "$osvers" in
     11@@ -181,6 +180,34 @@ case "$osvers" in
    1212    ldflags="${ldflags} -flat_namespace"
    1313    lddlflags="${ldflags} -bundle -undefined suppress"
     
    3434+   esac
    3535+   ;;
     36+12.*)
     37+   lddlflags="${ldflags} -bundle -undefined dynamic_lookup"
     38+   case "$ld" in
     39+       *MACOSX_DEVELOPMENT_TARGET*) ;;
     40+       *) ld="env MACOSX_DEPLOYMENT_TARGET=10.8 ${ld}" ;;
     41+   esac
     42+   ;;
    3643 *)
    3744    lddlflags="${ldflags} -bundle -undefined dynamic_lookup"
Note: See TracChangeset for help on using the changeset viewer.