aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-04-08 18:01:53 +0800
committerdinoex <dinoex@FreeBSD.org>2004-04-08 18:01:53 +0800
commit996b571fa8bd37ed3cee850bc18804258d589a46 (patch)
treedbdcbd81114466b772fb3925a9dbb3522fbee033 /Mk
parent7ec7f403e18d6f44c5faa0a3de210b01c77d9070 (diff)
downloadfreebsd-ports-graphics-996b571fa8bd37ed3cee850bc18804258d589a46.tar.gz
freebsd-ports-graphics-996b571fa8bd37ed3cee850bc18804258d589a46.tar.zst
freebsd-ports-graphics-996b571fa8bd37ed3cee850bc18804258d589a46.zip
- Fix dependency problem
drop LIB_DEPENDS in favor of BUILD_DEPENDS and RUN_DEPENDS Reported by: oliver
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 673b55b1288..bcace2265c9 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