Tue Dec 15 18:00:18 2015 UTC ()
Fix building on OS X


(adam)
diff -r1.11 -r1.12 pkgsrc/security/gnupg21/Makefile

cvs diff -r1.11 -r1.12 pkgsrc/security/gnupg21/Attic/Makefile (expand / switch to context diff)
--- pkgsrc/security/gnupg21/Attic/Makefile 2015/12/14 14:09:05 1.11
+++ pkgsrc/security/gnupg21/Attic/Makefile 2015/12/15 18:00:18 1.12
@@ -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-/}
@@ -22,6 +22,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"