aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2002-07-21 09:51:41 +0800
committerkuriyama <kuriyama@FreeBSD.org>2002-07-21 09:51:41 +0800
commitbdadac32a70dbc5991b2b8bde8ef5ae20b31d550 (patch)
treecc8f5e717eda6036ed236c263033c52d0b87df6a
parent6bd67949e6ad8057a3ac66b0945af60d5946be90 (diff)
downloadfreebsd-ports-gnome-bdadac32a70dbc5991b2b8bde8ef5ae20b31d550.tar.gz
freebsd-ports-gnome-bdadac32a70dbc5991b2b8bde8ef5ae20b31d550.tar.zst
freebsd-ports-gnome-bdadac32a70dbc5991b2b8bde8ef5ae20b31d550.zip
(1) Remove implicit dependency on devel/gdbm.
(2) Allow to explicit dependency on converters/libiconv with WITH_LIBICONV knob. Submitted by: NIIMI Satoshi <sa2c@sa2c.net> (1), Dmitry Morozovsky <marck@rinet.ru> (2) PR: ports/40653 (1), ports/40814 (2)
-rw-r--r--security/gnupg/Makefile5
-rw-r--r--security/gnupg1/Makefile5
2 files changed, 2 insertions, 8 deletions
diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
index 5a51f94047f5..3f147c224ff0 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/Makefile
@@ -28,10 +28,7 @@ MAN1= gpg.1 gpgv.1
.include <bsd.port.pre.mk>
-.if exists(${PREFIX}/lib/libgdbm.so)
-LIB_DEPENDS+= gdbm.2:${PORTSDIR}/databases/gdbm
-.endif
-.if exists(${PREFIX}/lib/libiconv.so)
+.if defined(WITH_LIBICONV) || exists(${PREFIX}/lib/libiconv.so)
LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv
.endif
diff --git a/security/gnupg1/Makefile b/security/gnupg1/Makefile
index 5a51f94047f5..3f147c224ff0 100644
--- a/security/gnupg1/Makefile
+++ b/security/gnupg1/Makefile
@@ -28,10 +28,7 @@ MAN1= gpg.1 gpgv.1
.include <bsd.port.pre.mk>
-.if exists(${PREFIX}/lib/libgdbm.so)
-LIB_DEPENDS+= gdbm.2:${PORTSDIR}/databases/gdbm
-.endif
-.if exists(${PREFIX}/lib/libiconv.so)
+.if defined(WITH_LIBICONV) || exists(${PREFIX}/lib/libiconv.so)
LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv
.endif