aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2004-04-08 10:01:53 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2004-04-08 10:01:53 +0000
commit2fefd65f412298e89a57669c163bd22657af50e5 (patch)
treeb6993d5d0b9f8dc240b40343e1778596715fe8c1 /Mk
parent67158defef90cc7dcd5fe10feec827cc33cef4b1 (diff)
downloadports-2fefd65f412298e89a57669c163bd22657af50e5.tar.gz
ports-2fefd65f412298e89a57669c163bd22657af50e5.zip
Notes
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