[103197] trunk/dports/shells/luash

and.damore at macports.org and.damore at macports.org
Mon Feb 18 02:07:11 PST 2013


Revision: 103197
          https://trac.macports.org/changeset/103197
Author:   and.damore at macports.org
Date:     2013-02-18 02:07:11 -0800 (Mon, 18 Feb 2013)
Log Message:
-----------
port luash: adding missing dependencies, switching to awk rather than gawk.
should fix build https://build.macports.org/builders/buildports-lion-x86_64/builds/8609

Modified Paths:
--------------
    trunk/dports/shells/luash/Portfile
    trunk/dports/shells/luash/files/patch-makefile.diff

Modified: trunk/dports/shells/luash/Portfile
===================================================================
--- trunk/dports/shells/luash/Portfile	2013-02-18 09:48:56 UTC (rev 103196)
+++ trunk/dports/shells/luash/Portfile	2013-02-18 10:07:11 UTC (rev 103197)
@@ -20,6 +20,8 @@
 patchfiles              patch-makefile.diff
 worksrcdir              ${name}
 use_configure           no
+depends_lib             port:lua \
+                        port:lua-luafilesystem
 build.args-append       CC=${configure.cc} \
                         CXX=${configure.cxx} \
                         CPP=${configure.cpp}

Modified: trunk/dports/shells/luash/files/patch-makefile.diff
===================================================================
--- trunk/dports/shells/luash/files/patch-makefile.diff	2013-02-18 09:48:56 UTC (rev 103196)
+++ trunk/dports/shells/luash/files/patch-makefile.diff	2013-02-18 10:07:11 UTC (rev 103197)
@@ -8,7 +8,7 @@
 -	echo "\";" >> lua_code.h
 -	g++ -o luash luash.cpp ${CXX_FLAGS} -llua -lreadline
 +	/bin/echo -n const char *lua_code = \" > lua_code.h
-+	cat luash.lua | sed 's/\\/\\\\/g' | sed 's/\"/\\\"/g' | gawk '{ print $0"\\n" }' | tr -d '\n' >> lua_code.h
++	cat luash.lua | sed 's/\\/\\\\/g' | sed 's/\"/\\\"/g' | awk '{ print $$0"\\n" }' | tr -d '\n' >> lua_code.h
 +	/bin/echo "\";" >> lua_code.h
 +	$(CXX) -o luash luash.cpp ${CXX_FLAGS} -llua -lreadline
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130218/5c5339e5/attachment.html>


More information about the macports-changes mailing list