Import of pkgsrc-2015Q1

This commit is contained in:
2016-01-21 23:40:00 +01:00
committed by sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870539 additions and 795424 deletions
+3 -29
View File
@@ -1,34 +1,8 @@
$NetBSD: patch-aa,v 1.4 2013/10/15 14:44:18 joerg Exp $
$NetBSD: patch-aa,v 1.5 2015/01/05 13:56:46 mef Exp $
--- Makefile.orig 2009-06-26 15:58:00.000000000 +0000
--- Makefile.orig 2014-12-02 14:17:21.000000000 +0000
+++ Makefile
@@ -5,7 +5,7 @@
VERSION= 1.7
-FDEBUG= 1
+#FDEBUG= 1
CC?= cc
YACC= yacc -d
@@ -13,15 +13,7 @@ CFLAGS+= -DBUILD="\"$(VERSION)\""
LDFLAGS+= -L/usr/local/lib
LIBS+= -lssl -lcrypto -ltdb -lz
+CPPFLAGS+=-I.
-# This sort of sucks but gets rid of the stupid warning and should work on
-# most platforms...
-CCV!= (LC_ALL=C ${CC} -v 2>&1|awk '/gcc version 4/') || true
-.if empty(CCV)
-CPPFLAGS:= -I. -I- -I/usr/local/include ${CPPFLAGS}
-.else
-CPPFLAGS:= -iquote. -I/usr/local/include ${CPPFLAGS}
-.endif
-
.ifdef FDEBUG
LDFLAGS+= -Wl,-E
CFLAGS+= -g -ggdb -DDEBUG
@@ -76,12 +67,12 @@ regress: fdm
@@ -68,12 +68,12 @@ regress: fdm
cd regress && ${MAKE}
install: all