summaryrefslogtreecommitdiff
path: root/net/sipcalc
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-11-01 18:42:46 +0000
committertv <tv@pkgsrc.org>2005-11-01 18:42:46 +0000
commitf1a64fa941c217b604efab098ba435c93b4f2a23 (patch)
tree91e049f87a355439b0caddfa51c100fcbf010f1a /net/sipcalc
parentca5f9bb94a4ee5bf1ca929bb6c0a3f135246dc5a (diff)
downloadpkgsrc-f1a64fa941c217b604efab098ba435c93b4f2a23.tar.gz
Set PKG_SKIP_REASON if _OPSYS_HAS_INET6 is not "yes".
Diffstat (limited to 'net/sipcalc')
-rw-r--r--net/sipcalc/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/sipcalc/Makefile b/net/sipcalc/Makefile
index 6b9f6dadcfb..7ee352898de 100644
--- a/net/sipcalc/Makefile
+++ b/net/sipcalc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2003/07/17 22:51:50 grant Exp $
+# $NetBSD: Makefile,v 1.5 2005/11/01 18:42:46 tv Exp $
#
DISTNAME= sipcalc-1.1.2
@@ -12,4 +12,10 @@ COMMENT= IPv4/IPv6 subnet calculator
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --disable-web
+.include "../../mk/bsd.prefs.mk"
+
+.if empty(_OPSYS_HAS_INET6:M[Yy][Ee][Ss])
+PKG_SKIP_REASON+= "${PKGNAME} requires IPv6 support libraries"
+.endif
+
.include "../../mk/bsd.pkg.mk"