diff options
author | dinoex <dinoex@FreeBSD.org> | 2004-04-08 13:17:37 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2004-04-08 13:17:37 +0800 |
commit | 2f6221c0ef62d9d2849ccfbf295ba37a33bbbe69 (patch) | |
tree | 8862cf6ce3f3000ad641f8f253112be6b8f22d0b /Mk/bsd.openssl.mk | |
parent | bb4961e37d04a1f339704e53f604658dc118caff (diff) | |
download | freebsd-ports-gnome-2f6221c0ef62d9d2849ccfbf295ba37a33bbbe69.tar.gz freebsd-ports-gnome-2f6221c0ef62d9d2849ccfbf295ba37a33bbbe69.tar.zst freebsd-ports-gnome-2f6221c0ef62d9d2849ccfbf295ba37a33bbbe69.zip |
- Fix dependecy problem
It could happen that bsd.port.mk think that the correct lib is installed,
by picking up a shared lib in the wrong directory.
Reported by: oliver
Diffstat (limited to 'Mk/bsd.openssl.mk')
-rw-r--r-- | Mk/bsd.openssl.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Mk/bsd.openssl.mk b/Mk/bsd.openssl.mk index f93a58dec61b..673b55b12881 100644 --- a/Mk/bsd.openssl.mk +++ b/Mk/bsd.openssl.mk @@ -2,7 +2,7 @@ # Date created: 31 May 2002 # Whom: dinoex # -# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.openssl.mk,v 1.13 2004-03-18 13:30:47 dinoex Exp $ +# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.openssl.mk,v 1.14 2004-04-08 05:17:37 dinoex Exp $ # # Use of 'USE_OPENSSL=yes' includes this Makefile after bsd.ports.pre.mk # @@ -111,7 +111,12 @@ OPENSSL_SHLIBVER?= 3 OPENSSL_PORT?= security/openssl .endif OPENSSLDIR= ${OPENSSLBASE}/openssl +.if exists(/usr/lib/libcrypto.so.${OPENSSL_SHLIBVER}) +BUILD_DEPENDS+= ${LOCALBASE}/lib/libcrypto.so.${OPENSSL_SHLIBVER}:${PORTSDIR}/${OPENSSL_PORT} +RUN_DEPENDS+= ${LOCALBASE}/lib/libcrypto.so.${OPENSSL_SHLIBVER}:${PORTSDIR}/${OPENSSL_PORT} +.else LIB_DEPENDS+= crypto.${OPENSSL_SHLIBVER}:${PORTSDIR}/${OPENSSL_PORT} +.endif OPENSSLRPATH= ${LOCALBASE}/lib .endif |