[40540] trunk/dports/textproc/help2man/Portfile
macsforever2000 at macports.org
macsforever2000 at macports.org
Mon Oct 6 08:41:45 PDT 2008
Revision: 40540
http://trac.macports.org/changeset/40540
Author: macsforever2000 at macports.org
Date: 2008-10-06 08:41:45 -0700 (Mon, 06 Oct 2008)
Log Message:
-----------
Fix for universal build (#16721)
Modified Paths:
--------------
trunk/dports/textproc/help2man/Portfile
Modified: trunk/dports/textproc/help2man/Portfile
===================================================================
--- trunk/dports/textproc/help2man/Portfile 2008-10-06 15:14:39 UTC (rev 40539)
+++ trunk/dports/textproc/help2man/Portfile 2008-10-06 15:41:45 UTC (rev 40540)
@@ -27,6 +27,12 @@
configure.env PERL=${prefix}/bin/perl
configure.args --mandir=${prefix}/share/man --infodir=${prefix}/share/info
+post-patch {
+ if {[variant_isset universal]} {
+ reinplace "s|-bundle|-bundle -isysroot ${configure.universal_sysroot} -arch i386 -arch ppc|" ${worksrcpath}/Makefile.in
+ }
+}
+
post-destroot {
set docdir ${prefix}/share/doc/${name}-${version}
xinstall -d ${destroot}${docdir}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081006/33bc4ac2/attachment.html
More information about the macports-changes
mailing list