2017-01-12 15:56:35 +01:00
|
|
|
# $NetBSD: Makefile,v 1.19 2017/01/12 14:56:35 joerg Exp $
|
2014-09-17 14:40:56 +02:00
|
|
|
|
2017-01-12 15:56:35 +01:00
|
|
|
PKGNAME= cwrappers-20170112
|
2014-09-17 14:40:56 +02:00
|
|
|
CATEGORIES= pkgtools sysutils
|
|
|
|
|
|
|
|
MAINTAINER= joerg@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.NetBSD.org/
|
|
|
|
COMMENT= pkgsrc compiler wrappers
|
|
|
|
LICENSE= modified-bsd
|
|
|
|
|
2016-11-27 12:46:45 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2014-09-17 14:40:56 +02:00
|
|
|
USE_BSD_MAKEFILE= yes
|
|
|
|
USE_FEATURES= nbcompat
|
|
|
|
|
|
|
|
INSTALLATION_DIRS= libexec/cwrappers
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2014-11-24 01:31:03 +01:00
|
|
|
CHECK_PERMS= no
|
2016-11-25 23:46:40 +01:00
|
|
|
PKGSRC_LOCKTYPE= none # avoid dependency cycles with pkgtool/shlock
|
2014-11-24 01:31:03 +01:00
|
|
|
|
2014-09-17 14:40:56 +02:00
|
|
|
.if ${OPSYS} != "NetBSD" || !empty(MACHINE_PLATFORM:MNetBSD-[0-5].*)
|
|
|
|
MAKE_ENV+= NEED_MI_VECTOR_HASH=1
|
|
|
|
.endif
|
|
|
|
|
2014-10-06 17:38:57 +02:00
|
|
|
CFLAGS.FreeBSD+= -D_WITH_GETLINE
|
2015-07-07 17:00:25 +02:00
|
|
|
CFLAGS.Linux+= -D_GNU_SOURCE=1
|
2014-09-17 14:40:56 +02:00
|
|
|
|
|
|
|
do-extract:
|
|
|
|
${CP} -R ${FILESDIR}/bin ${WRKSRC}
|
2015-04-27 11:51:24 +02:00
|
|
|
${TOUCH} ${WRKSRC}/transform-gcc.c
|
2014-09-17 14:40:56 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|