summaryrefslogtreecommitdiff
path: root/net/vpnc/Makefile
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-04-14 21:42:42 +0000
committerhans <hans@pkgsrc.org>2011-04-14 21:42:42 +0000
commitf1b700b4f29801253529d7244f2b83b05305281f (patch)
treecfb55fbbaf8a82c991db2bf1fcfbd7798c8c602a /net/vpnc/Makefile
parent373419753404ddb2c4c1ba0f51650f370b95e658 (diff)
downloadpkgsrc-f1b700b4f29801253529d7244f2b83b05305281f.tar.gz
Make this work on SunOS.
Diffstat (limited to 'net/vpnc/Makefile')
-rw-r--r--net/vpnc/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/net/vpnc/Makefile b/net/vpnc/Makefile
index 1be86c6f75a..5b202371d8c 100644
--- a/net/vpnc/Makefile
+++ b/net/vpnc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2011/03/05 17:46:41 cegger Exp $
+# $NetBSD: Makefile,v 1.27 2011/04/14 21:42:42 hans Exp $
#
DISTNAME= vpnc-0.5.3
@@ -60,5 +60,13 @@ do-install:
.include "options.mk"
+.include "../../mk/bsd.prefs.mk"
+
+CFLAGS.SunOS= -DLOG_PERROR=0
+
+.if ${OPSYS} == "SunOS"
+.include "../../net/solaris-tap/buildlink3.mk"
+.endif
+
.include "../../security/libgcrypt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"