aboutsummaryrefslogtreecommitdiffstats
path: root/dns/bind95
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2005-11-27 09:03:06 +0800
committerdougb <dougb@FreeBSD.org>2005-11-27 09:03:06 +0800
commit9ee98f726cfc5a2debe813513aa298476b67d2a3 (patch)
tree86da855719394af619563cf9779d57d1b1e1ed33 /dns/bind95
parentc4962c3dbe7f2acff9a61b816804245868e4169f (diff)
downloadfreebsd-ports-gnome-9ee98f726cfc5a2debe813513aa298476b67d2a3.tar.gz
freebsd-ports-gnome-9ee98f726cfc5a2debe813513aa298476b67d2a3.tar.zst
freebsd-ports-gnome-9ee98f726cfc5a2debe813513aa298476b67d2a3.zip
Fix a long-standing problem that appears when users install
openssl from ports, and do not use the option to have the port version overwrite the base version. Several folks have mentioned this problem in the past, but a good workaround (and more importantly, solid testing) were provided by the submitter. Submitted by: Uffe Vedenbrant <uffe@vedenbrant.se>
Diffstat (limited to 'dns/bind95')
-rw-r--r--dns/bind95/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/dns/bind95/Makefile b/dns/bind95/Makefile
index 276a8d1bea48..8d1aff2298e5 100644
--- a/dns/bind95/Makefile
+++ b/dns/bind95/Makefile
@@ -28,11 +28,17 @@ COMMENT= Completely new version of the BIND DNS suite with updated DNSSEC
ISCVERSION= 9.3.1
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --localstatedir=/var --disable-linux-caps --with-openssl \
+CONFIGURE_ARGS= --localstatedir=/var --disable-linux-caps \
--with-randomdev=/dev/random
USE_OPENSSL= yes
+.if defined(WITH_OPENSSL_PORT)
+CONFIGURE_ARGS+= --with-openssl=/usr/local
+.else
+CONFIGURE_ARGS+= --with-openssl
+.endif
+
# ISC staff has informed me that for 9.3.x, threads are always a bad idea.
# Leave the affirmative option for those that want to experiment.
.if defined(WITH_BIND9_THREADS)