[143356] trunk/dports/devel/ossp-uuid/Portfile
mojca at macports.org
mojca at macports.org
Sat Dec 12 09:38:24 PST 2015
Revision: 143356
https://trac.macports.org/changeset/143356
Author: mojca at macports.org
Date: 2015-12-10 23:53:45 -0800 (Thu, 10 Dec 2015)
Log Message:
-----------
ossp-uuid: simplify perl variants (avoid code duplication)
Modified Paths:
--------------
trunk/dports/devel/ossp-uuid/Portfile
Modified: trunk/dports/devel/ossp-uuid/Portfile
===================================================================
--- trunk/dports/devel/ossp-uuid/Portfile 2015-12-11 07:49:09 UTC (rev 143355)
+++ trunk/dports/devel/ossp-uuid/Portfile 2015-12-11 07:53:45 UTC (rev 143356)
@@ -78,26 +78,11 @@
perl5.branches 5.16 5.18 5.20 5.22
perl5.create_variants ${perl5.branches}
-if {[variant_isset perl5_22]} {
+if {[variant_isset perl5_16] || [variant_isset perl5_18] || [variant_isset perl5_20] || [variant_isset perl5_22]} {
+ configure.perl ${perl5.bin}
configure.args-delete --without-perl
configure.args-append --with-perl --with-perl-compat
- configure.perl ${prefix}/bin/perl5.22
patchfiles-append patch-uuid-uuid.h.in.diff
-} elseif {[variant_isset perl5_20]} {
- configure.args-delete --without-perl
- configure.args-append --with-perl --with-perl-compat
- configure.perl ${prefix}/bin/perl5.20
- patchfiles-append patch-uuid-uuid.h.in.diff
-} elseif {[variant_isset perl5_18]} {
- configure.args-delete --without-perl
- configure.args-append --with-perl --with-perl-compat
- configure.perl ${prefix}/bin/perl5.18
- patchfiles-append patch-uuid-uuid.h.in.diff
-} elseif {[variant_isset perl5_16]} {
- configure.args-delete --without-perl
- configure.args-append --with-perl --with-perl-compat
- configure.perl ${prefix}/bin/perl5.16
- patchfiles-append patch-uuid-uuid.h.in.diff
}
test.run yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/8650198e/attachment.html>
More information about the macports-changes
mailing list