blob: 427fd0a597667a21542fee28035f567ce2546cf9 (
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.15 2014/07/29 11:37:46 joerg Exp $
DISTNAME= pbulk-base-0.48
COMMENT= Core components of the modular bulk build framework
.include "../../pkgtools/pbulk/Makefile.common"
USE_FEATURES= nbcompat
USE_TOOLS+= nroff
INSTALLATION_DIRS= bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1
USE_BSD_MAKEFILE= yes
MAKE_FLAGS+= CWARNFLAGS.clang=-Wno-error=missing-noreturn
CONFLICTS= pbulk<0.39
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc-4.8*)
CPPFLAGS+= -Wno-clobbered
.endif
.if ${OPSYS} == "SunOS"
LDADD+= -lsocket -lresolv
MAKE_ENV+= LDADD=${LDADD:Q}
.endif
.if ${OPSYS} == "Linux"
CPPFLAGS+= -D_GNU_SOURCE
.endif
BUILD_DIRS= lib pbuild presolve pscan
do-extract:
${CP} -r ${FILESDIR}/pbulk ${WRKDIR}
.include "../../mk/bsd.pkg.mk"
|