summaryrefslogtreecommitdiff
path: root/security/validns/patches/patch-Makefile
diff options
context:
space:
mode:
authorpettai <pettai@pkgsrc.org>2013-06-15 16:51:29 +0000
committerpettai <pettai@pkgsrc.org>2013-06-15 16:51:29 +0000
commita96dc19090a1f0908fc1d54820a30ed1d0179e66 (patch)
treebfd5065cfba67a0093bf1b2f402eb116fb235863 /security/validns/patches/patch-Makefile
parent312815c6f144775bf5a8f27f866c0c01326c64d3 (diff)
downloadpkgsrc-a96dc19090a1f0908fc1d54820a30ed1d0179e66.tar.gz
validns 0.7
Support for KX, DLV, DHCID, NAPTR records. Support for X25, ISDN, RT, PX records. Support for MB, MG, MR, MINFO, AFSDB records. NSEC chain validation fix. Do not allow LP point to itself. Miscellaneous performance improvements. Miscellaneous portability fixes. Miscellaneous bug fixes.
Diffstat (limited to 'security/validns/patches/patch-Makefile')
-rw-r--r--security/validns/patches/patch-Makefile29
1 files changed, 16 insertions, 13 deletions
diff --git a/security/validns/patches/patch-Makefile b/security/validns/patches/patch-Makefile
index a391451037c..67f73585eb6 100644
--- a/security/validns/patches/patch-Makefile
+++ b/security/validns/patches/patch-Makefile
@@ -1,24 +1,27 @@
-$NetBSD: patch-Makefile,v 1.3 2012/12/22 20:03:06 joerg Exp $
+$NetBSD: patch-Makefile,v 1.4 2013/06/15 16:51:29 pettai Exp $
Add (PKG_)PREFIX support
---- Makefile.orig 2012-10-04 14:54:18.000000000 +0000
+--- Makefile.orig 2013-04-11 18:34:14.000000000 +0000
+++ Makefile
-@@ -1,6 +1,6 @@
+@@ -1,7 +1,7 @@
+ # The following options seem to work fine on Linux, FreeBSD, and Darwin
OPTIMIZE=-O2 -g
--CFLAGS=-Wall -Werror -pthread
--INCPATH=-I/usr/local/include -I/opt/local/include
-+CFLAGS=-Wall -pthread
+-CFLAGS=-Wall -Werror -pthread --no-strict-aliasing
+-INCPATH=-I/usr/local/include -I/opt/local/include -I/usr/local/ssl/include
++CFLAGS=-Wall -pthread --no-strict-aliasing
+INCPATH=-I/usr/include -I${PREFIX}/include
CC?=cc
- validns: main.o carp.o mempool.o textparse.o base64.o base32hex.o \
-@@ -20,7 +20,7 @@ validns: main.o carp.o mempool.o textpar
- sshfp.o threads.o rp.o spf.o cert.o \
- dname.o tlsa.o nid.o l32.o l64.o lp.o \
- ipseckey.o \
-- -L/usr/local/lib -L/opt/local/lib -lJudy -lcrypto
-+ -L/usr/lib -L${PREFIX}/lib -lJudy -lcrypto -Wl,-R${PREFIX}/lib
+ # These additional options work on Solaris/gcc to which I have an access
+@@ -39,8 +39,8 @@ validns: main.o carp.o mempool.o textpar
+ ipseckey.o cbtree.o mb.o mg.o mr.o minfo.o \
+ afsdb.o x25.o isdn.o rt.o px.o kx.o \
+ dlv.o dhcid.o nsap.o \
+- -L/usr/local/lib -L/opt/local/lib $(EXTRALPATH) \
+- -lJudy -lcrypto $(EXTRALIBS) $(EXTRALINKING)
++ -L/usr/lib -L${PREFIX}/lib $(EXTRALPATH) \
++ -lJudy -lcrypto -Wl,-R${PREFIX}/lib $(EXTRALIBS) $(EXTRALINKING)
clean:
-rm -f validns main.o carp.o mempool.o textparse.o