pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/lua-BitOp



Module Name:    pkgsrc
Committed By:   sevan
Date:           Sat Aug 20 14:03:03 UTC 2016

Modified Files:
        pkgsrc/devel/lua-BitOp: Makefile

Log Message:
Use the macosx target which is bundled in packages Makefile to apply relevant
settings when building on OS X.
Unbreaks package.

ok alnsn@


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/lua-BitOp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/lua-BitOp/Makefile
diff -u pkgsrc/devel/lua-BitOp/Makefile:1.4 pkgsrc/devel/lua-BitOp/Makefile:1.5
--- pkgsrc/devel/lua-BitOp/Makefile:1.4 Sat Aug 20 12:43:40 2016
+++ pkgsrc/devel/lua-BitOp/Makefile     Sat Aug 20 14:03:03 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2016/08/20 12:43:40 alnsn Exp $
+# $NetBSD: Makefile,v 1.5 2016/08/20 14:03:03 sevan Exp $
 
 DISTNAME=      LuaBitOp-1.0.2
 PKGNAME=       ${DISTNAME:S/Lua/${LUA_PKGPREFIX}-/}
@@ -20,6 +20,12 @@ MAKE_FLAGS+= LUA_DOCDIR=${LUA_DOCDIR}
 MAKE_FLAGS+=   _LUA_DOT_VERSION=${_LUA_DOT_VERSION}
 MAKE_FLAGS+=   INSTALLPATH=${DESTDIR}${PREFIX}/${LUA_CDIR}
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+BUILD_TARGET=   macosx
+.endif
+
 INSTALLATION_DIRS+=    ${LUA_CDIR} ${LUA_DOCDIR}
 
 TEST_TARGET=   test



Home | Main Index | Thread Index | Old Index