[75703] trunk/dports/textproc/sablotron/Portfile
ryandesign at macports.org
ryandesign at macports.org
Fri Feb 4 14:56:45 PST 2011
Revision: 75703
http://trac.macports.org/changeset/75703
Author: ryandesign at macports.org
Date: 2011-02-04 14:56:43 -0800 (Fri, 04 Feb 2011)
Log Message:
-----------
sablotron: fix universal and non-default-build_arch builds
Modified Paths:
--------------
trunk/dports/textproc/sablotron/Portfile
Modified: trunk/dports/textproc/sablotron/Portfile
===================================================================
--- trunk/dports/textproc/sablotron/Portfile 2011-02-04 22:41:51 UTC (rev 75702)
+++ trunk/dports/textproc/sablotron/Portfile 2011-02-04 22:56:43 UTC (rev 75703)
@@ -24,6 +24,8 @@
sha1 4e60a6aef32b661d7887b3ffd28339f47e2565e1 \
rmd160 bbf2b57d95efbe1fce0ba42813560df4dbde9e3a
+depends_build port:libtool
+
depends_lib port:libiconv port:expat port:spidermonkey
# Unfortunately, we have to set an internal configure script variable to stop
@@ -33,6 +35,12 @@
configure.args --mandir=${prefix}/share/man --enable-javascript
configure.cppflags-append -I${prefix}/include/js
+post-configure {
+ # Ensure -arch flags are also used when building the dynamic library;
+ # fixes universal and non-default-build_arch builds.
+ copy -force ${prefix}/bin/glibtool ${worksrcpath}/libtool
+}
+
variant apidocs description {Install HTML documentation of Sablotron's API} {
depends_build-append path:bin/perl:perl5 port:p5-xml-parser
configure.env-append PERL_PROG=${prefix}/bin/perl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110204/19e0c8dc/attachment.html>
More information about the macports-changes
mailing list