summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authoradam <adam>2015-12-15 18:00:18 +0000
committeradam <adam>2015-12-15 18:00:18 +0000
commit1cdc1fca45da6730d8363ab5ced9bb416a8403a9 (patch)
treed16c81ff3666a449148b0a216c3d4fc725d06f51 /security
parente69218524f980d4b1645b4b34d54c3760f2108f1 (diff)
downloadpkgsrc-1cdc1fca45da6730d8363ab5ced9bb416a8403a9.tar.gz
Fix building on OS X
Diffstat (limited to 'security')
-rw-r--r--security/gnupg21/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/security/gnupg21/Makefile b/security/gnupg21/Makefile
index ccd3d907de9..8db4d29efa1 100644
--- a/security/gnupg21/Makefile
+++ b/security/gnupg21/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2015/12/14 14:09:05 ryoon Exp $
+# $NetBSD: Makefile,v 1.12 2015/12/15 18:00:18 adam Exp $
DISTNAME= gnupg-2.1.10
PKGNAME= ${DISTNAME:S/gnupg-/gnupg21-/}
@@ -23,6 +23,11 @@ INFO_FILES= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-g13
+.include "../../mk/bsd.fast.prefs.mk"
+.if ${OPSYS} == "Darwin"
+LDFLAGS+= -lresolv
+.endif
+
.include "options.mk"
BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.16