[137201] trunk/dports/lang

Ryan Schmidt ryandesign at macports.org
Fri Jun 5 23:27:01 PDT 2015


> On Jun 5, 2015, at 11:50 PM, mojca at macports.org wrote:
> 
> Revision
> 137201
> Author
> mojca at macports.org
> 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.




More information about the macports-dev mailing list