aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-09-22 15:21:24 +0800
committerasami <asami@FreeBSD.org>2000-09-22 15:21:24 +0800
commit681012d5e08493683efb07826b4b5648f2f562a9 (patch)
tree4bda1321d13d377853b23366f44068925eb6be96 /Mk
parente86d070020201de5a65eb3e586ad62dca8ca42e0 (diff)
downloadfreebsd-ports-gnome-681012d5e08493683efb07826b4b5648f2f562a9.tar.gz
freebsd-ports-gnome-681012d5e08493683efb07826b4b5648f2f562a9.tar.zst
freebsd-ports-gnome-681012d5e08493683efb07826b4b5648f2f562a9.zip
Forther improvement of IDEA support.
Submitted by: kris
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.