aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-09-22 07:21:24 +0000
committerSatoshi Asami <asami@FreeBSD.org>2000-09-22 07:21:24 +0000
commit5b03182efd273c853e0a44cc011b2d964f0455b6 (patch)
tree8e359e5084231108b3f5bc430925c7ae2f5f752d /Mk
parent8b6d60bd75e0fbc6f456c25185b16c9aa3776f5e (diff)
downloadports-5b03182efd273c853e0a44cc011b2d964f0455b6.tar.gz
ports-5b03182efd273c853e0a44cc011b2d964f0455b6.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index c1ec5bd5e5f4..1ff6fc2e7793 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -657,8 +657,11 @@ PREFIX?= ${LOCALBASE}
OPENSSLBASE= /usr
OPENSSLDIR= /etc/ssl
# OpenSSL in the base system may not include IDEA for patent licensing reasons.
-OPENSSL_IDEA?= ${MAKE_IDEA}
+.if defined(MAKE_IDEA) && !defined(OPENSSL_IDEA)
+OPENSSL_IDEA= ${MAKE_IDEA}
+.else
OPENSSL_IDEA?= NO
+.endif
.if ${OPENSSL_IDEA} == "NO"
# XXX This is a hack to work around the fact that /etc/make.conf clobbers
# our CFLAGS. It might not be enough for all future ports.