diff options
-rw-r--r-- | security/gnupg/Makefile | 5 | ||||
-rw-r--r-- | security/gnupg1/Makefile | 5 |
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 |