$NetBSD: patch-ab,v 1.3 2003/06/06 07:40:41 itojun Exp $ --- Makefile.orig 2002-12-02 11:42:32.000000000 +0900 +++ Makefile 2003-06-06 16:31:17.000000000 +0900 @@ -127,6 +127,12 @@ realinstall: install ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ - ${INSTALLFLAGS} pim6sd ${.CURDIR}/pim6stat ${DESTDIR}${BINDIR} + ${INSTALLFLAGS} ${.CURDIR}/pim6stat ${DESTDIR}${BINDIR} .include + +.if ${OPSYS} == "NetBSD" +.y.c: + ${YACC.y} ${.IMPSRC} + mv y.tab.c ${.TARGET} +.endif