1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Fix dependency problem

drop LIB_DEPENDS in favor of BUILD_DEPENDS and RUN_DEPENDS
Reported by:    oliver
This commit is contained in:
Dirk Meyer 2004-04-08 10:01:53 +00:00
parent 67158defef
commit 2fefd65f41
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106485

View File

@ -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