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
commitc64fe85c08e395c51d36106fd113f5a95ab0f8af (patch)
tree91e049f87a355439b0caddfa51c100fcbf010f1a /net/sipcalc
parent086555f65d24a849905560d333c5fc371ad6813c (diff)
downloadpkgsrc-c64fe85c08e395c51d36106fd113f5a95ab0f8af.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"