blob: 78d5b5c1253bf43c26aa6a502a74898871722ca7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $NetBSD: Makefile,v 1.22 2016/02/25 16:20:51 jperkin Exp $
#
DISTNAME= libdnet-1.12
PKGREVISION= 1
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
LICENSE= modified-bsd
GNU_CONFIGURE= yes
USE_TOOLS+= autoconf gmake
USE_LIBTOOL= yes
BUILD_DEFS+= IPV6_READY
pre-configure:
cd ${WRKSRC} && autoconf -f
PKG_OPTIONS_VAR= PKG_OPTIONS.libdnet
PKG_SUPPORTED_OPTIONS= libdnetcheck
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mlibdnetcheck)
BUILDLINK_DEPMETHOD.check= build
.include "../../devel/check/buildlink3.mk"
TEST_TARGET= check
.else
CONFIGURE_ARGS+= --without-check
.endif
CONFIGURE_ENV.NetBSD+= ac_cv_header_netinet_ip_fil_h=no
CONFIGURE_ENV.SunOS+= ac_cv_dnet_linux_pf_packet=no
.include "../../mk/bsd.pkg.mk"
|