summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authoragc <agc>1998-04-22 14:22:39 +0000
committeragc <agc>1998-04-22 14:22:39 +0000
commitd2460b9fd7541b962dded99da55174aa350b543a (patch)
tree1fa1007997976767bf1737186cbaead81fd8476f /security
parent85e71b358f29ed1f1eeef26ae6d1033c54e4217f (diff)
downloadpkgsrc-d2460b9fd7541b962dded99da55174aa350b543a.tar.gz
Remove the old deprecated DEPENDS definition from bsd.pkg.mk.
Implement a new DEPENDS definition, which looks for an installed package, building it if not present, and use it in preference to LIB_DEPENDS. This should make the package collection more useful on NetBSD ELF ports.
Diffstat (limited to 'security')
-rw-r--r--security/pgp2/Makefile4
-rw-r--r--security/ssh/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/security/pgp2/Makefile b/security/pgp2/Makefile
index 5b4e61a21c7..06bab9f980b 100644
--- a/security/pgp2/Makefile
+++ b/security/pgp2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 1998/04/15 10:38:47 agc Exp $
+# $NetBSD: Makefile,v 1.6 1998/04/22 14:22:48 agc Exp $
# FreeBSD Id: Makefile,v 1.20 1997/08/27 13:06:01 ache Exp
#
@@ -19,7 +19,7 @@ MAINTAINER= packages@NetBSD.ORG
.if defined(USE_RSAREF2) && ${USE_RSAREF2} == YES
PKGNAME= pgp-2.6.3a
-LIB_DEPENDS+= rsaref.2.:${PORTSDIR}/security/rsaref
+DEPENDS+= rsaref-2.0:../../security/rsaref
RSAINC= -I${PREFIX}/include
RSALIBS= -L${PREFIX}/lib -lrsaref
RSAOBJS= rsaglue2.o
diff --git a/security/ssh/Makefile b/security/ssh/Makefile
index c2bb2310c28..aa4d7fc42d2 100644
--- a/security/ssh/Makefile
+++ b/security/ssh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 1998/04/15 10:38:47 agc Exp $
+# $NetBSD: Makefile,v 1.17 1998/04/22 14:22:48 agc Exp $
# FreeBSD Id: Makefile,v 1.47 1997/11/10 22:04:42 dima Exp
#
@@ -50,7 +50,7 @@ CONFIGURE_ARGS+= --prefix=${PREFIX} --with-etcdir=${SSH_CONF_DIR} \
#CONFIGURE_ARGS+= --with-none
.if defined(USE_RSAREF2) && ${USE_RSAREF2} == YES
-LIB_DEPENDS+= rsaref.2.:${PORTSDIR}/security/rsaref
+DEPENDS+= rsaref-2.0:../../security/rsaref
CONFIGURE_ARGS+= --with-rsaref="${PREFIX}/lib"
CFLAGS+= -I${PREFIX}/include
.endif