Rename own dprintf function to avoid conflicting with POSIX.1-2008 dprintf(3).
fixes PR pkg/45325.
This commit is contained in:
parent
781a7c84c9
commit
b8b5dc656c
1 changed files with 10 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.5 2009/07/17 01:10:07 jakllsch Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2011/09/03 08:19:57 obache Exp $
|
||||
|
||||
DISTNAME= wide-dhcpv6-20080615
|
||||
CATEGORIES= net
|
||||
|
@ -35,6 +35,15 @@ SUBST_MESSAGE.fix-paths=Fixing absolute paths.
|
|||
SUBST_FILES.fix-paths= ${MAN5} ${MAN8}
|
||||
SUBST_SED.fix-paths= -e 's,/usr/local/etc,${PKG_SYSCONFDIR:Q},g'
|
||||
|
||||
SUBST_CLASSES+= dprintf
|
||||
SUBST_STAGE.dprintf= post-configure
|
||||
SUBST_MESSAGE.dprintf= Rename `dprintf' conflicting with POSIX.1-2008 one.
|
||||
SUBST_FILES.dprintf= addrconf.c cftoken.l common.h common.c config.c
|
||||
SUBST_FILES.dprintf+= dhcp6_ctl.c dhcp6c.c dhcp6c_script.c dhcp6c_ia.c
|
||||
SUBST_FILES.dprintf+= dhcp6relay_script.c dhcp6relay.c dhcp6s.c lease.c if.c
|
||||
SUBST_FILES.dprintf+= prefixconf.c timer.c
|
||||
SUBST_SED.dprintf= -e 's/dprintf/my_dprintf/g'
|
||||
|
||||
do-install:
|
||||
.for f in ${COMMANDS}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/sbin
|
||||
|
|
Loading…
Reference in a new issue