aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.openssl.mk9
1 files changed, 3 insertions, 6 deletions
diff --git a/Mk/bsd.openssl.mk b/Mk/bsd.openssl.mk
index 673b55b12881..bcace2265c9c 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.14 2004-04-08 05:17:37 dinoex Exp $
+# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.openssl.mk,v 1.15 2004-04-08 10:01:53 dinoex Exp $
#
# Use of 'USE_OPENSSL=yes' includes this Makefile after bsd.ports.pre.mk
#
@@ -29,7 +29,8 @@
#
# MAKE_ENV - extended with the variables above
# CONFIGURE_ENV - extended with LDFLAGS
-# LIB_DEPENDS - are added if needed
+# BUILD_DEPENDS - are added if needed
+# RUN_DEPENDS - are added if needed
OpenSSL_Include_MAINTAINER= dinoex@FreeBSD.org
@@ -111,12 +112,8 @@ 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