[71752] trunk/dports/sysutils/watch/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Sep 21 22:00:51 PDT 2010
Revision: 71752
http://trac.macports.org/changeset/71752
Author: ryandesign at macports.org
Date: 2010-09-21 22:00:49 -0700 (Tue, 21 Sep 2010)
Log Message:
-----------
watch: support universal and non-default-build_arch builds; see #26555
Modified Paths:
--------------
trunk/dports/sysutils/watch/Portfile
Modified: trunk/dports/sysutils/watch/Portfile
===================================================================
--- trunk/dports/sysutils/watch/Portfile 2010-09-22 04:57:56 UTC (rev 71751)
+++ trunk/dports/sysutils/watch/Portfile 2010-09-22 05:00:49 UTC (rev 71752)
@@ -3,6 +3,7 @@
PortSystem 1.0
name watch
version 3.2.8
+revision 1
categories sysutils
maintainers yahoo.com:mjhsieh
description watch executes a program periodically, showing output fullscreen
@@ -23,8 +24,15 @@
depends_lib port:ncurses
+variant universal {}
+if {[variant_isset universal]} {
+ set archflags ${configure.universal_cflags}
+} else {
+ set archflags ${configure.cc_archflags}
+}
+
build.target watch
-build.args CC=${configure.cc} \
+build.args CC="${configure.cc} ${archflags}" \
LDFLAGS="${configure.ldflags}" \
PKG_LDFLAGS=""
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100921/7a9c7cc9/attachment.html>
More information about the macports-changes
mailing list