aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dns/bind9/Makefile8
-rw-r--r--dns/bind94/Makefile8
-rw-r--r--dns/bind95/Makefile8
-rw-r--r--dns/bind96/Makefile8
4 files changed, 28 insertions, 4 deletions
diff --git a/dns/bind9/Makefile b/dns/bind9/Makefile
index 276a8d1bea48..8d1aff2298e5 100644
--- a/dns/bind9/Makefile
+++ b/dns/bind9/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)
diff --git a/dns/bind94/Makefile b/dns/bind94/Makefile
index 276a8d1bea48..8d1aff2298e5 100644
--- a/dns/bind94/Makefile
+++ b/dns/bind94/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)
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)
diff --git a/dns/bind96/Makefile b/dns/bind96/Makefile
index 276a8d1bea48..8d1aff2298e5 100644
--- a/dns/bind96/Makefile
+++ b/dns/bind96/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)