Modified: trunk/dports/games/xmj/Portfile (89637 => 89638)
--- trunk/dports/games/xmj/Portfile 2012-02-05 03:10:43 UTC (rev 89637)
+++ trunk/dports/games/xmj/Portfile 2012-02-05 03:45:11 UTC (rev 89638)
@@ -1,9 +1,11 @@
# $Id$
PortSystem 1.0
+PortGroup muniversal 1.0
name xmj
version 1.12
+revision 1
categories games x11
platforms darwin
maintainers mmoll
@@ -22,10 +24,11 @@
depends_build port:pkgconfig
depends_lib port:gtk2
use_configure no
+universal_variant yes
patch {
reinplace "s|/usr|${prefix}|g" ${worksrcpath}/Makefile
}
-build.args CDEBUGFLAGS=-O2 CC=${configure.cc}
+build.args CDEBUGFLAGS=-O2 CC="${configure.cc} [get_canonical_archflags]"
destroot.target install install.man
destroot.destdir DESTDIR=${destroot}/ BINDIR=${prefix}/bin \
MANDIR=${prefix}/share/man/man1