pkgsrc/net/libdnet/Makefile
jlam 07dd3147c6 Convert packages that test and use USE_INET6 to use the options framework
and to support the "inet6" option instead.

Remaining usage of USE_INET6 was solely for the benefit of the scripts
that generate the README.html files.  Replace:

	BUILD_DEFS+=	USE_INET6
with
	BUILD_DEFS+=	IPV6_READY

and teach the README-generation tools to look for that instead.

This nukes USE_INET6 from pkgsrc proper.  We leave a tiny bit of code
to continue to support USE_INET6 for pkgsrc-wip until it has been nuked
from there as well.
2007-09-07 22:12:10 +00:00

30 lines
687 B
Makefile

# $NetBSD: Makefile,v 1.15 2007/09/07 22:12:18 jlam Exp $
#
DISTNAME= libdnet-1.12
CATEGORIES= devel net
MASTER_SITES= http://libdnet.googlecode.com/files/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://code.google.com/p/libdnet/
COMMENT= C interface to several low-level networking routines
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
USE_LIBTOOL= yes
BUILD_DEFS+= IPV6_READY
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
.include "../../mk/bsd.pkg.mk"