diff options
author | alnsn <alnsn@pkgsrc.org> | 2014-11-08 20:08:11 +0000 |
---|---|---|
committer | alnsn <alnsn@pkgsrc.org> | 2014-11-08 20:08:11 +0000 |
commit | e979d81a585dfaee6c406553ecbd25471caeb651 (patch) | |
tree | dac7a6bbfdaf5f8df8c932374922b38606162190 | |
parent | 29e01bb747fbe87522641c79d2a7e82cbe109767 (diff) | |
download | pkgsrc-e979d81a585dfaee6c406553ecbd25471caeb651.tar.gz |
Fix Darwin build. Patch from Jonathan Buschmann via pkg/49377.
-rw-r--r-- | devel/lua-lpeg/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/devel/lua-lpeg/Makefile b/devel/lua-lpeg/Makefile index e1135062d71..e94803ed87e 100644 --- a/devel/lua-lpeg/Makefile +++ b/devel/lua-lpeg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2014/10/19 22:27:44 alnsn Exp $ +# $NetBSD: Makefile,v 1.7 2014/11/08 20:08:11 alnsn Exp $ # DISTNAME= lpeg-0.12 @@ -12,12 +12,19 @@ HOMEPAGE= http://www.inf.puc-rio.br/~roberto/lpeg/ COMMENT= Parsing Expression Grammars (PEGs) library for Lua LICENSE= mit +.include "../../mk/bsd.prefs.mk" + NO_CONFIGURE= yes USE_TOOLS+= gmake MAKE_FILE= makefile -BUILD_TARGET= linux TEST_TARGET= test +.if ${OPSYS} == "Darwin" +BUILD_TARGET= macosx +.else +BUILD_TARGET= linux +.endif + REPLACE_LUA+= test.lua INSTALLATION_DIRS+= ${LUA_CDIR} ${LUA_LDIR} ${LUA_DOCDIR} |