Revision: 103293 https://trac.macports.org/changeset/103293 Author: and.damore@macports.org Date: 2013-02-20 02:23:50 -0800 (Wed, 20 Feb 2013) Log Message: ----------- port luash: removing unneeded worksrcdir, proper passing archflags Modified Paths: -------------- trunk/dports/shells/luash/Portfile Modified: trunk/dports/shells/luash/Portfile =================================================================== --- trunk/dports/shells/luash/Portfile 2013-02-20 08:56:11 UTC (rev 103292) +++ trunk/dports/shells/luash/Portfile 2013-02-20 10:23:50 UTC (rev 103293) @@ -12,7 +12,6 @@ long_description luash is a shell written in Lua/C++ that allow you to run command using Lua syntax homepage http://luaforge.net/projects/luash platforms darwin -worksrcdir ${name} master_sites http://files.luaforge.net/releases/luash/luash/luash${version} distname ${name} dist_subdir ${name}/${version} @@ -23,11 +22,14 @@ use_bzip2 yes patchfiles patch-makefile.diff use_configure no + +variant universal {} + depends_lib port:lua \ port:lua-luafilesystem build.args-append CXX=${configure.cxx} \ - CXX_FLAGS=${configure.cxxflags} + CXX_FLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" destroot.args PREFIX=${prefix} @@ -35,8 +37,3 @@ xinstall -d -m 755 ${destroot}$prefix/share/doc/${name} xinstall -m 644 -W ${worksrcpath} COPYING README ${destroot}$prefix/share/doc/${name} } - -variant universal { - build.args-delete CXX_FLAGS=${configure.cxxflags} - build.args-append CXX_FLAGS=\"${configure.cxxflags} ${configure.universal_cxxflags}\" -}
participants (1)
-
and.damore@macports.org