[73898] trunk/dports/www/mozplugger/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sun Nov 28 09:45:32 PST 2010
Revision: 73898
http://trac.macports.org/changeset/73898
Author: jeremyhu at macports.org
Date: 2010-11-28 09:45:27 -0800 (Sun, 28 Nov 2010)
Log Message:
-----------
mozplugger: Fix -universal build. #27479
Modified Paths:
--------------
trunk/dports/www/mozplugger/Portfile
Modified: trunk/dports/www/mozplugger/Portfile
===================================================================
--- trunk/dports/www/mozplugger/Portfile 2010-11-28 15:18:58 UTC (rev 73897)
+++ trunk/dports/www/mozplugger/Portfile 2010-11-28 17:45:27 UTC (rev 73898)
@@ -6,6 +6,7 @@
name mozplugger
categories www x11
version 1.14.2
+revision 1
platforms darwin
maintainers jeremyhu openmaintainer
description Use popular X11 applications as plugins for firefox
@@ -29,12 +30,20 @@
use_configure no
+if {[variant_isset universal]} {
+ set extra_cflags "${configure.universal_cflags}"
+ set extra_ldflags "${configure.universal_ldflags}"
+} else {
+ set extra_cflags ""
+ set extra_ldflags ""
+}
+
build.args \
prefix=${prefix} \
- CC="${configure.cc} ${configure.universal_cflags} -I${prefix}/include" \
- LD="${configure.cc} ${configure.universal_ldflags}" \
- XCFLAGS="${configure.universal_cflags} -I${prefix}/include" \
- XLDFLAGS="${configure.universal_ldflags} -flat_namespace -shared -L${prefix}/lib -lX11" \
+ CC="${configure.cc} ${extra_cflags} -I${prefix}/include" \
+ LD="${configure.cc} ${extra_ldflags} -L${prefix}/lib" \
+ XCFLAGS="" \
+ XLDFLAGS="-flat_namespace -shared -lX11" \
X11=${prefix}
destroot.args \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101128/aac8af81/attachment.html>
More information about the macports-changes
mailing list