summaryrefslogtreecommitdiff
path: root/net/libdnet/Makefile
diff options
context:
space:
mode:
authordrochner <drochner>2007-02-23 20:33:05 +0000
committerdrochner <drochner>2007-02-23 20:33:05 +0000
commitfcdf7f7f51a997e35636e2a85e40c8cfc232ca2d (patch)
tree1a8c87d19ad3c2abc67c97adeaa621b70b85547c /net/libdnet/Makefile
parent0b281d25a1512b79dfefb46dcf233d8f7f860f23 (diff)
downloadpkgsrc-fcdf7f7f51a997e35636e2a85e40c8cfc232ca2d.tar.gz
-the "check.h not found" problem is not alpha specific, but just
an effect of the "check" library installed -- introduce an option which either requires devel/check or disables it completely -Being here, update to 1.11. No changelog available.
Diffstat (limited to 'net/libdnet/Makefile')
-rw-r--r--net/libdnet/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/net/libdnet/Makefile b/net/libdnet/Makefile
index 793a79915a2..4e88a6fd37c 100644
--- a/net/libdnet/Makefile
+++ b/net/libdnet/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2006/03/04 21:30:20 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2007/02/23 20:33:05 drochner Exp $
#
-DISTNAME= libdnet-1.10
-PKGREVISION= 1
+DISTNAME= libdnet-1.11
CATEGORIES= devel net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libdnet/}
@@ -16,8 +15,14 @@ USE_LIBTOOL= yes
BUILD_DEFS+= USE_INET6
-.include "../../mk/bsd.prefs.mk"
-.if ${MACHINE_ARCH} == "alpha"
+PKG_OPTIONS_VAR= PKG_OPTIONS.libdnet
+PKG_SUPPORTED_OPTIONS= libdnetcheck
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mlibdnetcheck)
+.include "../../devel/check/buildlink3.mk"
+TEST_TARGET= check
+.else
CONFIGURE_ARGS+= --without-check
.endif