diff options
author | joerg <joerg> | 2013-09-17 12:03:09 +0000 |
---|---|---|
committer | joerg <joerg> | 2013-09-17 12:03:09 +0000 |
commit | a87b55dc43e676d4ce3df60434b57b957be0ae6d (patch) | |
tree | 67a5d48a0aa47151bb0165c3bb7e467e06225c59 | |
parent | 7deb46744d765782c2f308e7ed38690e41189b9e (diff) | |
download | pkgsrc-a87b55dc43e676d4ce3df60434b57b957be0ae6d.tar.gz |
print-PLIST support for LUA_LDIR/LUA_CDIR.
-rw-r--r-- | lang/lua/module.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/lua/module.mk b/lang/lua/module.mk index b7fc8899193..d29d36fe90f 100644 --- a/lang/lua/module.mk +++ b/lang/lua/module.mk @@ -1,4 +1,4 @@ -# $NetBSD: module.mk,v 1.3 2009/06/14 22:58:02 joerg Exp $ +# $NetBSD: module.mk,v 1.4 2013/09/17 12:03:09 joerg Exp $ # # This Makefile fragment is intended to be included by packages that # install Lua packages. @@ -20,6 +20,11 @@ DEPENDS+= lua-${_LUA_VERSION}.*:../../lang/lua LUA_CDIR= lib/lua/${_LUA_VERSION} PLIST_SUBST+= LUA_CDIR=${LUA_CDIR} +PRINT_PLIST_AWK+= /^${LUA_LDIR:S|/|\\/|g}/ \ + { gsub(/${LUA_LDIR:S|/|\\/|g}/, "$${LUA_LDIR}") } +PRINT_PLIST_AWK+= /^${LUA_CDIR:S|/|\\/|g}/ \ + { gsub(/${LUA_CDIR:S|/|\\/|g}/, "$${LUA_CDIR}") } + BUILDLINK_API_DEPENDS.lua+= lua-${_LUA_VERSION}.* .include "../../lang/lua/buildlink3.mk" |