From 7db6c70199612b3625c487716e739644ffefae94 Mon Sep 17 00:00:00 2001 From: agc Date: Wed, 26 Jun 2002 18:02:38 +0000 Subject: Make this package compile on 1.6 and later - don't rename the derived yacc header file to .h, keep it as y.tab.h --- net/pim6sd/distinfo | 4 ++-- net/pim6sd/patches/patch-ab | 16 +++++++++++----- 2 files changed, 13 insertions(+), 7 deletions(-) (limited to 'net/pim6sd') diff --git a/net/pim6sd/distinfo b/net/pim6sd/distinfo index c4b564232c8..743bbcc9ceb 100644 --- a/net/pim6sd/distinfo +++ b/net/pim6sd/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.3 2002/04/05 02:02:34 hubertf Exp $ +$NetBSD: distinfo,v 1.4 2002/06/26 18:02:38 agc Exp $ SHA1 (pim6sd-20020403a.tar.gz) = e00e1b6acdce1d605eb4f61e70618f4b7c37773e Size (pim6sd-20020403a.tar.gz) = 165983 bytes SHA1 (patch-aa) = 8346bedaff00ed1b37226a5f53fb720890f19a68 -SHA1 (patch-ab) = 93ada333baf53c023d6bcd229d10afa25453cfaf +SHA1 (patch-ab) = 62399470ea58b735e24d37d2dceb2e68199a8ef5 SHA1 (patch-ac) = 6dd1b17869ecd85a51825b200edae4a4633849fd diff --git a/net/pim6sd/patches/patch-ab b/net/pim6sd/patches/patch-ab index cf072fca970..91f31e45735 100644 --- a/net/pim6sd/patches/patch-ab +++ b/net/pim6sd/patches/patch-ab @@ -1,8 +1,8 @@ -$NetBSD: patch-ab,v 1.1.1.1 2001/06/02 05:05:21 itojun Exp $ +$NetBSD: patch-ab,v 1.2 2002/06/26 18:02:40 agc Exp $ ---- Makefile.orig Mon Dec 4 15:45:02 2000 -+++ Makefile Sat Jun 2 14:02:22 2001 -@@ -87,6 +87,7 @@ +--- Makefile.orig Wed Apr 3 06:32:18 2002 ++++ Makefile Wed Jun 26 19:00:37 2002 +@@ -88,6 +88,7 @@ route.c vif.c timer.c mrt.c pim6.c pim6_proto.c rp.c crc.c trace.c\ cfparse.y cftoken.l CLEANFILES+= lex.yy.c y.tab.c y.tab.h @@ -10,7 +10,7 @@ $NetBSD: patch-ab,v 1.1.1.1 2001/06/02 05:05:21 itojun Exp $ .if (${OPSYS} == "BSD/OS") CC= gcc -@@ -121,6 +122,6 @@ +@@ -127,6 +128,12 @@ realinstall: install ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ @@ -18,3 +18,9 @@ $NetBSD: patch-ab,v 1.1.1.1 2001/06/02 05:05:21 itojun Exp $ + ${INSTALLFLAGS} ${.CURDIR}/pim6stat ${DESTDIR}${BINDIR} .include ++ ++.if ${OPSYS} == "NetBSD" ++.y.c: ++ ${YACC.y} ${.IMPSRC} ++ mv y.tab.c ${.TARGET} ++.endif -- cgit v1.2.3