Subject: pkg/7254: when compiling fetchmail, autoheader is invoked
To: None <gnats-bugs@gnats.netbsd.org>
From: NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp>
List: netbsd-bugs
Date: 03/27/1999 01:19:40
>Number: 7254
>Category: pkg
>Synopsis: when compiling fetchmail, autoheader is invoked
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 26 08:35:00 1999
>Last-Modified:
>Originator: NAKAJIMA Yoshihiro
>Organization:
>Release: NetBSD-current 1999/03/21
>Environment:
System: NetBSD asura 1.3K NetBSD 1.3K (ASURA) #2: Mon Mar 22 21:14:41 JST 1999 nakayosh@asura:/usr/src/sys/arch/i386/compile/ASURA i386
>Description:
Fetchmail-4.7.7's Makefile.in has the following description:
: config.h.in: acconfig.h configure.in
: autoheader $(ACFLAGS); touch config.h.in
Usually this isn't used because config.h.in is newer than acconfig.h and
configure.in. But our pkg system updates configure.in by patch-ac, so
autoheader is invoked. If autoconf isn't installed, the compiling will
fails.
>How-To-Repeat:
# RM `which autoheader`
% cd /usr/pkgsrc/mail/fetchmail && make
>Fix:
diff -u pkgsrc/mail/fetchmail/Makefile.ORIG pkgsrc/mail/fetchmail/Makefile
--- pkgsrc/mail/fetchmail/Makefile.ORIG Sun Feb 21 21:28:25 1999
+++ pkgsrc/mail/fetchmail/Makefile Fri Mar 26 23:20:55 1999
@@ -24,6 +24,10 @@
post-extract:
${RM} -f ${WRKSRC}/md5.h
+post-patch:
+ # update config.h.in to avoid invoking autoheader
+ ${TOUCH} -c ${WRKSRC}/config.h.in
+
post-install:
${INSTALL} -d -m 555 -o ${DOCOWN} -g ${DOCGRP} ${FDOC}
cd ${WRKSRC} && ${INSTALL_DATA} \
>Audit-Trail:
>Unformatted: