[131295] trunk/dports/lang/perl5.16/Portfile

larryv at macports.org larryv at macports.org
Thu Jan 8 14:59:13 PST 2015


Revision: 131295
          https://trac.macports.org/changeset/131295
Author:   larryv at macports.org
Date:     2015-01-08 14:59:12 -0800 (Thu, 08 Jan 2015)
Log Message:
-----------
perl5.16: Reformat configure.post_args

Also tweak Tcl and shell quoting.

Modified Paths:
--------------
    trunk/dports/lang/perl5.16/Portfile

Modified: trunk/dports/lang/perl5.16/Portfile
===================================================================
--- trunk/dports/lang/perl5.16/Portfile	2015-01-08 22:54:18 UTC (rev 131294)
+++ trunk/dports/lang/perl5.16/Portfile	2015-01-08 22:59:12 UTC (rev 131295)
@@ -56,28 +56,28 @@
 configure.post_args -des \
                     -Dprefix='${prefix}' \
                     -Dscriptdir='${prefix}/bin' \
-                    -Dcppflags="\${CPPFLAGS}" \
-                    -Dccflags="\${CFLAGS}" \
-                    -Dldflags="\${LDFLAGS}" \
+                   {-Dcppflags="$CPPFLAGS"} \
+                   {-Dccflags="$CFLAGS"} \
+                   {-Dldflags="$LDFLAGS"} \
                     -Dvendorprefix='${prefix}' \
                     -Dusemultiplicity=y \
                     -Dusethreads \
                     -Duseshrplib \
-                    -D cc=\${CC} \
-                    -D ld=\${CC} \
-                    -D man1ext='1pm' \
-                    -D man3ext='3pm' \
-                    -D man1dir='${prefix}/share/man/man1p' \
-                    -D man3dir='${prefix}/share/man/man3p' \
-                    -D sitebin='${prefix}/libexec/perl${branch}/sitebin' \
-                    -D siteman1dir='${prefix}/share/perl${branch}/siteman/man1' \
-                    -D siteman3dir='${prefix}/share/perl${branch}/siteman/man3' \
-                    -D vendorbin='${prefix}/libexec/perl${branch}' \
-                    -D vendorman1dir='${prefix}/share/perl${branch}/man/man1' \
-                    -D vendorman3dir='${prefix}/share/perl${branch}/man/man3' \
-                    -D pager="/usr/bin/less -sR" \
-                    -D perlpath="${prefix}/bin/perl${branch}" \
-                    -D startperl="#!${prefix}/bin/perl${branch}"
+                   {-Dcc="$CC"} \
+                   {-Dld="$CC"} \
+                    -Dman1ext=1pm \
+                    -Dman3ext=3pm \
+                    -Dman1dir='${prefix}/share/man/man1p' \
+                    -Dman3dir='${prefix}/share/man/man3p' \
+                    -Dsitebin='${prefix}/libexec/perl${branch}/sitebin' \
+                    -Dsiteman1dir='${prefix}/share/perl${branch}/siteman/man1' \
+                    -Dsiteman3dir='${prefix}/share/perl${branch}/siteman/man3' \
+                    -Dvendorbin='${prefix}/libexec/perl${branch}' \
+                    -Dvendorman1dir='${prefix}/share/perl${branch}/man/man1' \
+                    -Dvendorman3dir='${prefix}/share/perl${branch}/man/man3' \
+                    -Dpager='/usr/bin/less -sR' \
+                    -Dperlpath="${prefix}/bin/perl${branch}" \
+                    -Dstartperl="#!${prefix}/bin/perl${branch}"
 
 # Allow perl to find p5-* ports installed by previous (minor) versions
 set platsuffix ""
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150108/e4616977/attachment.html>


More information about the macports-changes mailing list