aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/gnupg/Makefile7
-rw-r--r--security/gnupg1/Makefile7
2 files changed, 14 insertions, 0 deletions
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 <bsd.port.pre.mk>
+.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
diff --git a/security/gnupg1/Makefile b/security/gnupg1/Makefile
index ba55740363c0..a8565dfade58 100644
--- a/security/gnupg1/Makefile
+++ b/security/gnupg1/Makefile
@@ -24,6 +24,13 @@ MLINKS= gpg.1 gpgm.1
.include <bsd.port.pre.mk>
+.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