[86966] trunk/dports/textproc/help2man/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Nov 7 08:29:33 PST 2011
Revision: 86966
http://trac.macports.org/changeset/86966
Author: ryandesign at macports.org
Date: 2011-11-07 08:29:33 -0800 (Mon, 07 Nov 2011)
Log Message:
-----------
help2man: simplify getting archflags
Modified Paths:
--------------
trunk/dports/textproc/help2man/Portfile
Modified: trunk/dports/textproc/help2man/Portfile
===================================================================
--- trunk/dports/textproc/help2man/Portfile 2011-11-07 16:28:53 UTC (rev 86965)
+++ trunk/dports/textproc/help2man/Portfile 2011-11-07 16:29:33 UTC (rev 86966)
@@ -31,12 +31,10 @@
configure.universal_args-delete --disable-dependency-tracking
+variant universal {}
+
post-patch {
- if {[variant_isset universal]} {
- reinplace "s|-shared|-bundle ${configure.ldflags} ${configure.universal_ldflags}|" ${worksrcpath}/Makefile.in
- } else {
- reinplace "s|-shared|-bundle ${configure.ldflags} ${configure.ld_archflags}|" ${worksrcpath}/Makefile.in
- }
+ reinplace "s|-shared|-bundle ${configure.ldflags} [get_canonical_archflags ld]|" ${worksrcpath}/Makefile.in
}
post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111107/908b305c/attachment.html>
More information about the macports-changes
mailing list