Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -1,17 +1,24 @@
$NetBSD: patch-ab,v 1.3 2015/03/05 13:39:20 ryoon Exp $
$NetBSD: patch-ab,v 1.5 2015/12/29 23:34:51 dholland Exp $
Configure for pkgsrc.
Use libtool.
Install by Lua version so multiple versions can coexist.
Use readline.
--- src/Makefile.orig 2013-11-11 11:45:49.000000000 +0000
+++ src/Makefile
@@ -6,8 +6,7 @@
@@ -6,9 +6,8 @@
# Your platform. See PLATS for possible values.
PLAT= none
-CC= gcc
-CFLAGS= -O2 -Wall -DLUA_COMPAT_ALL $(SYSCFLAGS) $(MYCFLAGS)
-LDFLAGS= $(SYSLDFLAGS) $(MYLDFLAGS)
+CFLAGS+= -Wall -DLUA_COMPAT_ALL $(SYSCFLAGS) $(MYCFLAGS)
LDFLAGS= $(SYSLDFLAGS) $(MYLDFLAGS)
+LDFLAGS+= $(SYSLDFLAGS) $(MYLDFLAGS)
LIBS= -lm $(SYSLIBS) $(MYLIBS)
AR= ar rcu
@@ -24,23 +23,28 @@ MYLDFLAGS=
MYLIBS=
MYOBJS=