> On Jun 5, 2015, at 11:50 PM, [email protected] wrote: > > Revision > 137201 > Author > [email protected] > Date > 2015-06-05 21:50:48 -0700 (Fri, 05 Jun 2015) > Log Message > > perl5.22: new port
> Modified: trunk/dports/lang/perl5.22/files/avoid-bind9-linking.patch (137160 > => 137201) > --- trunk/dports/lang/perl5.20/files/avoid-bind9-linking.patch > 2015-06-05 18:57:45 UTC (rev 137160) > +++ trunk/dports/lang/perl5.22/files/avoid-bind9-linking.patch > 2015-06-06 04:50:48 UTC (rev 137201) > @@ -1,3 +1,7 @@ > +I guess the last line > + loclibpth="$loclibpth /opt/local/lib/libgcc" ;; > +which is new in 5.22 needs some special "treatment". > + > Index: hints/darwin.sh > =================================================================== > --- hints/darwin.sh.orig > @@ -2,3 +6,3 @@ > +++ hints/darwin.sh > -@@ -327,6 +327,8 @@ i_dbm=undef; > +@@ -337,6 +337,8 @@ i_dbm=undef; > # NeilW says this should be acceptable on all darwin versions. > @@ -8,6 +12,6 @@ > > +libswanted="$(echo $libswanted | sed -e 's/bind //' -e 's/ bind//')" > + > - ## > - # Build process > - ## > + # Catch MacPorts gcc/g++ extra libdir > + case "$($cc -v 2>&1)" in > + *"MacPorts gcc"*) loclibpth="$loclibpth /opt/local/lib/libgcc" ;; Perhaps "/opt/local" should not be hardcoded here, and you should instead use "__PREFIX__" and add the path to this file to the reinplace in the post-patch block. _______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
