blob: 13dfa4439b48c76db6d72ff4b0f75e821406bf01 (
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
|
# $NetBSD: Makefile,v 1.31 2016/07/09 11:50:36 rillig Exp $
DISTNAME= host-20070128
CATEGORIES= net
MASTER_SITES= ftp://ftp.planix.com/pub/Planix/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.weird.com/~woods/projects/host.html
COMMENT= Powerful DNS query and testing tool
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/cat1
NO_CONFIGURE= yes
CONFLICTS+= bind-[0-9]*
USE_BSD_MAKEFILE= yes
MAKE_FILE= Makefile.BSD
MAKE_FLAGS+= __NetBSD__=1
USE_TOOLS+= nroff
BUILDLINK_TRANSFORM.Darwin+= rm:-Wl,--warn-common
BUILDLINK_TRANSFORM.Darwin+= rm:-static
CPPFLAGS.Darwin+= -DBIND_8_COMPAT
BUILDLINK_TRANSFORM.SunOS+= rm:-static
LDFLAGS.SunOS+= -lresolv -lsocket -lnsl
BUILDLINK_TRANSFORM.Linux+= rm:-static
LDFLAGS.Linux+= -lresolv
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MIRIX-5*)
CPPFLAGS+= -DIRIX5
.endif
.include "../../mk/bsd.pkg.mk"
|