pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/lua-lpeg Fix Darwin build. Patch from Jonathan B...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/145ef7ab3ffb
branches:  trunk
changeset: 641455:145ef7ab3ffb
user:      alnsn <alnsn%pkgsrc.org@localhost>
date:      Sat Nov 08 20:08:11 2014 +0000

description:
Fix Darwin build. Patch from Jonathan Buschmann via pkg/49377.

diffstat:

 devel/lua-lpeg/Makefile |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 194fe60a8b44 -r 145ef7ab3ffb devel/lua-lpeg/Makefile
--- a/devel/lua-lpeg/Makefile   Sat Nov 08 16:22:03 2014 +0000
+++ b/devel/lua-lpeg/Makefile   Sat Nov 08 20:08:11 2014 +0000
@@ -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,11 +12,18 @@
 COMMENT=       Parsing Expression Grammars (PEGs) library for Lua
 LICENSE=       mit
 
+.include "../../mk/bsd.prefs.mk"
+
 NO_CONFIGURE=  yes
 USE_TOOLS+=    gmake
 MAKE_FILE=     makefile
+TEST_TARGET=   test
+
+.if ${OPSYS} == "Darwin"
+BUILD_TARGET=  macosx
+.else
 BUILD_TARGET=  linux
-TEST_TARGET=   test
+.endif
 
 REPLACE_LUA+=  test.lua
 



Home | Main Index | Thread Index | Old Index