aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2011-08-11 01:16:26 +0800
committerswills <swills@FreeBSD.org>2011-08-11 01:16:26 +0800
commit96de25fb5540cc73fe695251bc0683bf3b991a33 (patch)
tree7f1074a5ed3c3fd9466b9c15ac33d0fff400d9ae /dns
parent4a0f2a76ff2865ac125d79be5e924055d50ea3be (diff)
downloadfreebsd-ports-graphics-96de25fb5540cc73fe695251bc0683bf3b991a33.tar.gz
freebsd-ports-graphics-96de25fb5540cc73fe695251bc0683bf3b991a33.tar.zst
freebsd-ports-graphics-96de25fb5540cc73fe695251bc0683bf3b991a33.zip
- Fix/add usage of SQLITE3_CFLAGS and SQLITE3_LIBS as detected by pkg-config
- Fixes compilation on systems that don't have math/gmp installed PR: ports/159617 Submitted by: Ralf van der Enden <tremere@cainites.net> (maintainer)
Diffstat (limited to 'dns')
-rw-r--r--dns/powerdns/files/patch-modules_gsqlite3backend_Makefile_in16
-rw-r--r--dns/powerdns/files/patch-pdns_Makefile_in22
2 files changed, 38 insertions, 0 deletions
diff --git a/dns/powerdns/files/patch-modules_gsqlite3backend_Makefile_in b/dns/powerdns/files/patch-modules_gsqlite3backend_Makefile_in
new file mode 100644
index 00000000000..9ca9ce9d851
--- /dev/null
+++ b/dns/powerdns/files/patch-modules_gsqlite3backend_Makefile_in
@@ -0,0 +1,16 @@
+--- modules/gsqlite3backend/Makefile.in.orig 2011-07-22 13:26:06.000000000 +0200
++++ modules/gsqlite3backend/Makefile.in 2011-08-08 16:22:15.000000000 +0200
+@@ -255,11 +255,11 @@
+ AM_CPPFLAGS = @THREADFLAGS@
+ lib_LTLIBRARIES = libgsqlite3backend.la
+ EXTRA_DIST = OBJECTFILES OBJECTLIBS
+-INCLUDES = -I@SQLITE3_CFLAGS@
++INCLUDES = @SQLITE3_CFLAGS@
+ libgsqlite3backend_la_SOURCES = gsqlite3backend.cc gsqlite3backend.hh \
+ ssqlite3.hh ssqlite3.cc
+
+-libgsqlite3backend_la_LDFLAGS = -module -avoid-version -lsqlite3
++libgsqlite3backend_la_LDFLAGS = -module -avoid-version @SQLITE3_LIBS@
+ all: all-am
+
+ .SUFFIXES:
diff --git a/dns/powerdns/files/patch-pdns_Makefile_in b/dns/powerdns/files/patch-pdns_Makefile_in
new file mode 100644
index 00000000000..1f64ba9b9c9
--- /dev/null
+++ b/dns/powerdns/files/patch-pdns_Makefile_in
@@ -0,0 +1,22 @@
+--- pdns/Makefile.in.orig 2011-07-22 13:26:07.000000000 +0200
++++ pdns/Makefile.in 2011-08-09 10:11:41.000000000 +0200
+@@ -51,15 +51,15 @@
+ dnslog$(EXEEXT) nproxy$(EXEEXT) notify$(EXEEXT) \
+ pdnssec$(EXEEXT) dnsbulktest$(EXEEXT)
+ @BOTAN19_TRUE@am__append_1 = botan19signers.cc botansigners.cc
+-@BOTAN19_TRUE@am__append_2 = -lbotan -lgmp
++@BOTAN19_TRUE@am__append_2 = -lbotan
+ @BOTAN18_TRUE@am__append_3 = botan18signers.cc botansigners.cc
+-@BOTAN18_TRUE@am__append_4 = -lbotan -lgmp
++@BOTAN18_TRUE@am__append_4 = -lbotan
+ @CRYPTOPP_TRUE@am__append_5 = cryptoppsigners.cc
+ @CRYPTOPP_TRUE@am__append_6 = -lcryptopp
+ @BOTAN19_TRUE@am__append_7 = botan19signers.cc botansigners.cc
+-@BOTAN19_TRUE@am__append_8 = -lbotan -lgmp
++@BOTAN19_TRUE@am__append_8 = -lbotan
+ @BOTAN18_TRUE@am__append_9 = botan18signers.cc botansigners.cc
+-@BOTAN18_TRUE@am__append_10 = -lbotan -lgmp
++@BOTAN18_TRUE@am__append_10 = -lbotan
+ @CRYPTOPP_TRUE@am__append_11 = cryptoppsigners.cc
+ @CRYPTOPP_TRUE@am__append_12 = -lcryptopp
+ subdir = pdns