pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/lua-BitOp Use the macosx target which is bundled...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a599309f5e3e
branches:  trunk
changeset: 351436:a599309f5e3e
user:      sevan <sevan%pkgsrc.org@localhost>
date:      Sat Aug 20 14:03:03 2016 +0000

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

ok alnsn@

diffstat:

 devel/lua-BitOp/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r fa539ceb02b6 -r a599309f5e3e devel/lua-BitOp/Makefile
--- a/devel/lua-BitOp/Makefile  Sat Aug 20 13:43:22 2016 +0000
+++ b/devel/lua-BitOp/Makefile  Sat Aug 20 14:03:03 2016 +0000
@@ -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_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