diff options
author | dinoex <dinoex@FreeBSD.org> | 2012-09-19 23:33:09 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2012-09-19 23:33:09 +0800 |
commit | 42ea7096d78121d712160ea004de362184cd2d77 (patch) | |
tree | b2ddb0f0b464aff4949f2cecd78574e2f3337086 /Mk/bsd.openssl.mk | |
parent | cef962b1ead0dbedee2a87f987737ed7daf8fa85 (diff) | |
download | freebsd-ports-gnome-42ea7096d78121d712160ea004de362184cd2d77.tar.gz freebsd-ports-gnome-42ea7096d78121d712160ea004de362184cd2d77.tar.zst freebsd-ports-gnome-42ea7096d78121d712160ea004de362184cd2d77.zip |
- new option WITH_OPENSSL_HACK7=yes
Diffstat (limited to 'Mk/bsd.openssl.mk')
-rw-r--r-- | Mk/bsd.openssl.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Mk/bsd.openssl.mk b/Mk/bsd.openssl.mk index dfdc941e51e7..4282c6342fbf 100644 --- a/Mk/bsd.openssl.mk +++ b/Mk/bsd.openssl.mk @@ -1,5 +1,5 @@ # -# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.openssl.mk,v 1.48 2012-04-18 11:38:20 bapt Exp $ +# $FreeBSD$ # bsd.openssl.mk - Support for OpenSSL based ports. # # Use of 'USE_OPENSSL=yes' includes this Makefile after bsd.ports.pre.mk @@ -8,6 +8,7 @@ # # WITH_OPENSSL_BASE=yes - Use the version in the base system. # WITH_OPENSSL_PORT=yes - Use the port, even if base is up to date +# WITH_OPENSSL_HACK7=yes - Use not the version in the base system on FreeBSD 7.x # # USE_OPENSSL_RPATH=yes - Pass RFLAGS options in CFLAGS, # needed for ports who don't use LDFLAGS @@ -39,6 +40,13 @@ WITH_OPENSSL_BASE=yes WITH_OPENSSL_PORT=yes .endif +.if defined(WITH_OPENSSL_HACK7) +.if ${OSVERSION} < 800000 +# the openssl in base of FreeBSD 7.x is too old +WITH_OPENSSL_PORT?= yes +.endif +.endif + # if no preference was set, check for an installed base version # but give an installed port preference over it. .if !defined(WITH_OPENSSL_BASE) && \ |