Subject: pkg/8516: inn-2.2 package can be changed to remove dependancy on bison.
To: None <gnats-bugs@gnats.netbsd.org>
From: David Rankin <drankin@bohemians.lexington.ky.us>
List: netbsd-bugs
Date: 09/29/1999 13:51:56
>Number: 8516
>Category: pkg
>Synopsis: inn-2.2 package can be changed to remove dependancy on bison.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager (NetBSD software packages system bug manager)
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Sep 29 13:50:01 1999
>Last-Modified:
>Originator: David Rankin
>Organization:
Bohemians Unincorporated
>Release: NetBSD 1.4, pkgsrc-current as of 9/28/1999
>Environment:
System: NetBSD rumpole 1.4 NetBSD 1.4 (RUMPOLE) #5: Wed Jun 23 12:15:08 EDT 1999 root@rumpole:/usr/src/sys/arch/sparc/compile/RUMPOLE sparc
>Description:
It is trivial to remove inn's dependancy on bison, since NetBSD ships with
"byacc". inn's configure doesn't try to see if "yacc" is also "byacc".
>How-To-Repeat:
>Fix:
Remove the following line from the package's Makefile:
BUILD_DEPENDS+= ${LOCALBASE}/bin/bison:../../devel/bison
and add the following lines onto the end of patches/patch-aa
(i.e. patching work/inn-2.2/configure)
@@ -1440,7 +1429,7 @@
SET_MAKE="MAKE=${MAKE-make}"
fi
-for ac_prog in 'bison -y' byacc
+for ac_prog in 'bison -y' byacc yacc
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
>Audit-Trail:
>Unformatted: