summaryrefslogtreecommitdiffstats
path: root/security/ssh/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-04-26 06:23:41 +0000
committersobomax <sobomax@FreeBSD.org>2002-04-26 06:23:41 +0000
commite2a688f868ea768807d4d98d82028b973565d241 (patch)
tree6c7ee07a5fd5d35fb6eea85aed171dea8fbd195a /security/ssh/Makefile
parent7253cb8c88c3fd84eced53af11e66ba617c1b485 (diff)
downloadFreeBSD-ports-e2a688f868ea768807d4d98d82028b973565d241.zip
FreeBSD-ports-e2a688f868ea768807d4d98d82028b973565d241.tar.gz
Fix libgmp breakage on -current.
Diffstat (limited to 'security/ssh/Makefile')
-rw-r--r--security/ssh/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/security/ssh/Makefile b/security/ssh/Makefile
index 13be90b..3dffefc 100644
--- a/security/ssh/Makefile
+++ b/security/ssh/Makefile
@@ -66,6 +66,12 @@ CONFIGURE_ARGS+= --without-idea
.include <bsd.port.pre.mk>
+.if ${OSVERSION} > 500023
+LIB_DEPENDS+= gmp.4:${PORTSDIR}/math/libgmp3
+MAKE_ENV+= GMPINCDIR="${LOCALBASE}/include" \
+ GMPLIBDIR="${LOCALBASE}/lib"
+.endif
+
.if (${OSVERSION} >= 400016 && !defined(REALLY_WANT_SSH))
FORBIDDEN= "OpenSSH is a superior version of SSH which has been included in the FreeBSD base system since 4.0-RELEASE. This port is now deprecated and will be removed at some point in the future. To override this warning set the REALLY_WANT_SSH environment variable and rebuild."
.endif
OpenPOWER on IntegriCloud