summaryrefslogtreecommitdiff
path: root/net/vpnc/Makefile
diff options
context:
space:
mode:
authorhans <hans>2011-04-14 21:42:42 +0000
committerhans <hans>2011-04-14 21:42:42 +0000
commit4179cdf1cd5aee5e12a805e1970f0d6e8197c043 (patch)
treecfb55fbbaf8a82c991db2bf1fcfbd7798c8c602a /net/vpnc/Makefile
parente2cf35f78c8ad8b3cfb1f5396d9835f06cd56763 (diff)
downloadpkgsrc-4179cdf1cd5aee5e12a805e1970f0d6e8197c043.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"