From 6707cd923c67cdf5b7a213f3b805a2732e6879bc Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Sun, 3 Feb 2002 23:00:56 +0000 Subject: Add (conditional) hidden dependency for iconv and gdbm. PR: ports/34543 Reported by: Ronald Kuehn --- security/gnupg/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'security/gnupg') diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile index ba55740363c0..a8565dfade58 100644 --- a/security/gnupg/Makefile +++ b/security/gnupg/Makefile @@ -24,6 +24,13 @@ MLINKS= gpg.1 gpgm.1 .include +.if exists(${PREFIX}/lib/libiconv.so) +LIB_DEPENDS+= libiconv.2:${PORTSDIR}/converter/iconv +.endif +.if exists(${PREFIX}/lib/libgdbm.so) +LIB_DEPENDS+= libgdbm.2:${PORTSDIR}/databases/gdbm +.endif + .if ${OSVERSION} < 300000 USE_GMAKE= YES .endif -- cgit v1.2.3