pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/lua-BitOp Fix the test target.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f76c27b3b5a8
branches:  trunk
changeset: 351432:f76c27b3b5a8
user:      alnsn <alnsn%pkgsrc.org@localhost>
date:      Sat Aug 20 12:43:40 2016 +0000

description:
Fix the test target.

diffstat:

 devel/lua-BitOp/Makefile               |   3 ++-
 devel/lua-BitOp/distinfo               |   4 ++--
 devel/lua-BitOp/patches/patch-Makefile |  13 ++++++++++++-
 3 files changed, 16 insertions(+), 4 deletions(-)

diffs (57 lines):

diff -r 42948ed5ee2d -r f76c27b3b5a8 devel/lua-BitOp/Makefile
--- a/devel/lua-BitOp/Makefile  Sat Aug 20 12:27:41 2016 +0000
+++ b/devel/lua-BitOp/Makefile  Sat Aug 20 12:43:40 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2015/03/18 10:24:49 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2016/08/20 12:43:40 alnsn Exp $
 
 DISTNAME=      LuaBitOp-1.0.2
 PKGNAME=       ${DISTNAME:S/Lua/${LUA_PKGPREFIX}-/}
@@ -17,6 +17,7 @@
 USE_TOOLS+=    gmake
 MAKE_FLAGS+=   LUA_CDIR=${LUA_CDIR}
 MAKE_FLAGS+=   LUA_DOCDIR=${LUA_DOCDIR}
+MAKE_FLAGS+=   _LUA_DOT_VERSION=${_LUA_DOT_VERSION}
 MAKE_FLAGS+=   INSTALLPATH=${DESTDIR}${PREFIX}/${LUA_CDIR}
 
 INSTALLATION_DIRS+=    ${LUA_CDIR} ${LUA_DOCDIR}
diff -r 42948ed5ee2d -r f76c27b3b5a8 devel/lua-BitOp/distinfo
--- a/devel/lua-BitOp/distinfo  Sat Aug 20 12:27:41 2016 +0000
+++ b/devel/lua-BitOp/distinfo  Sat Aug 20 12:43:40 2016 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 03:27:47 agc Exp $
+$NetBSD: distinfo,v 1.4 2016/08/20 12:43:40 alnsn Exp $
 
 SHA1 (LuaBitOp-1.0.2.tar.gz) = 1f611edbc4f65279072c96af15bd6e455ea9dd10
 RMD160 (LuaBitOp-1.0.2.tar.gz) = 6b5a44515022ed1f4edb9d966b8ea3aa9c38a892
 SHA512 (LuaBitOp-1.0.2.tar.gz) = a652050ea5c6fbeb8a28b05e2bc4a3550c854cc45f7f42c8c1b0a81f5b76773cdf061e6a839cdb339614118169e578b6e3efa5a3efbe59a2f01874b2fa2b4f2e
 Size (LuaBitOp-1.0.2.tar.gz) = 23127 bytes
-SHA1 (patch-Makefile) = f75ef24cac7855a1ec39fdf9345c76fbe1e8e08c
+SHA1 (patch-Makefile) = 5b484bdbaa2cc94b1b73177f3eeb0a686f7e897d
diff -r 42948ed5ee2d -r f76c27b3b5a8 devel/lua-BitOp/patches/patch-Makefile
--- a/devel/lua-BitOp/patches/patch-Makefile    Sat Aug 20 12:27:41 2016 +0000
+++ b/devel/lua-BitOp/patches/patch-Makefile    Sat Aug 20 12:43:40 2016 +0000
@@ -1,4 +1,6 @@
-$NetBSD: patch-Makefile,v 1.2 2014/12/10 23:22:36 joerg Exp $
+$NetBSD: patch-Makefile,v 1.3 2016/08/20 12:43:40 alnsn Exp $
+
+Install tweaks.
 
 --- Makefile.orig      2012-05-08 19:15:00.000000000 +0000
 +++ Makefile
@@ -11,6 +13,15 @@
  
  DEFINES=
  # Use this for the old ARM ABI with swapped FPA doubles.
+@@ -11,7 +11,7 @@ DEFINES=
+ #DEFINES= -DSWAPPED_DOUBLE
+ 
+ # Lua executable name. Used to find the install path and for testing.
+-LUA= lua
++LUA= lua${_LUA_DOT_VERSION}
+ 
+ CC= gcc
+ CCOPT= -O2 -fomit-frame-pointer
 @@ -39,7 +39,8 @@ $(MODSO): $(MODNAME).o
        $(SOCC) $(SOLDFLAGS) -o $@ $<
  



Home | Main Index | Thread Index | Old Index