On Feb 3, 2012, at 16:43, [email protected] wrote: > Revision: 89604 > http://trac.macports.org/changeset/89604 > Author: [email protected] > Date: 2012-02-03 14:43:25 -0800 (Fri, 03 Feb 2012) > Log Message: > ----------- > games/xmj: update to version 1.12
And you fixed the port to ensure it's UsingTheRightCompiler, which is good, but anytime you have to do that it's a clue that you probably also have to handle using the right -arch flags, and adding a universal variant if possible. The procedure [get_canonical_archflags] is very handy in these cases. > > Modified Paths: > -------------- > trunk/dports/games/xmj/Portfile > > Modified: trunk/dports/games/xmj/Portfile > =================================================================== > --- trunk/dports/games/xmj/Portfile 2012-02-03 22:37:40 UTC (rev 89603) > +++ trunk/dports/games/xmj/Portfile 2012-02-03 22:43:25 UTC (rev 89604) > @@ -3,7 +3,7 @@ > PortSystem 1.0 > > name xmj > -version 1.11 > +version 1.12 > categories games x11 > platforms darwin > maintainers mmoll > @@ -16,16 +16,16 @@ > homepage http://mahjong.julianbradfield.org > distname mj-${version}-src > master_sites ${homepage}/Source > -checksums md5 c0cd19620eb3fcef3e0a83eaed6c3780 \ > - sha1 0c5d7d2f1cdf89624d433f9e90ea80709a66240f \ > - rmd160 dded5fca2f27edfca605f0f62e0ff4991056326a > +checksums md5 dd3aa1a1d29a0faec0bc65387f097257 \ > + sha1 2f1cce90157af56f88dadd22a3ab12cb746bc0b8 \ > + rmd160 8e244a5b2478f9865096727f061ef2220ee7a991 > depends_build port:pkgconfig > depends_lib port:gtk2 > use_configure no > patch { > reinplace "s|/usr|${prefix}|g" ${worksrcpath}/Makefile > } > -build.args CDEBUGFLAGS=-O2 > +build.args CDEBUGFLAGS=-O2 CC=${configure.cc} > destroot.target install install.man > destroot.destdir DESTDIR=${destroot}/ BINDIR=${prefix}/bin \ > MANDIR=${prefix}/share/man/man1 _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
