Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

View File

@@ -1,20 +0,0 @@
$NetBSD: patch-aa,v 1.1.1.1 2010/09/21 10:08:48 fhajny Exp $
Let CFLAGS/LDFLAGS merge with pkgsrc's ones
--- config.orig 2007-10-15 04:21:05.000000000 +0000
+++ config
@@ -49,10 +49,10 @@ INSTALL_EXEC=cp
#------
# Compiler and linker settings
# for Linux
-CC=gcc
+CC?=gcc
DEF=-DLUASOCKET_DEBUG
-CFLAGS= $(LUAINC) $(DEF) -pedantic -Wall -O2 -fpic
-LDFLAGS=-O -shared -fpic
+CFLAGS+= $(LUAINC) $(DEF) -pedantic -Wall -O2 -fpic
+LDFLAGS+=-O -shared -fpic
LD=gcc
#------

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-makefile,v 1.1 2013/09/13 14:24:28 fhajny Exp $
Pass our LDFLAGS.
--- makefile.orig 2013-06-14 11:27:32.000000000 +0000
+++ makefile
@@ -15,7 +15,7 @@ PLATS= macosx linux win32 mingw
all: $(PLAT)
$(PLATS) none install install-unix local clean:
- $(MAKE) -C src $@
+ $(MAKE) -C src $@ MYLDFLAGS="$(LDFLAGS)"
print:
$(MAKE) -C src $@

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-src_makefile,v 1.1 2013/09/13 14:24:28 fhajny Exp $
Pass our LDFLAGS.
--- src/makefile.orig 2013-06-14 11:27:32.000000000 +0000
+++ src/makefile
@@ -151,7 +151,7 @@ DEF_linux=-DLUASOCKET_$(DEBUG) -DLUA_$(C
-DMIME_API='__attribute__((visibility("default")))'
CFLAGS_linux= -I$(LUAINC) $(DEF) -pedantic -Wall -Wshadow -Wextra \
-Wimplicit -O2 -ggdb3 -fpic -fvisibility=hidden
-LDFLAGS_linux=-O -shared -fpic -o
+LDFLAGS_linux=-O -shared -fpic $(MYLDFLAGS) -o
LD_linux=gcc
SOCKET_linux=usocket.o