Subject: Re: pkg/7263: fetchmail depend on autoconf
To: None <gnats-bugs@gnats.netbsd.org,>
From: Greg A. Woods <woods@most.weird.com>
List: netbsd-bugs
Date: 03/27/1999 13:20:55
[ On Saturday, March 27, 1999 at 11:09:05 (-0600), dokas@cs.umn.edu wrote: ]
> Subject: pkg/7263: fetchmail depend on autoconf
>
> >Fix:
> 	Add this line to /usr/pkgsrc/mail/fetchmail/Makefile:
> 
> 	DEPENDS=        autoconf-2.13:../../devel/autoconf

This fix is more correct:

Index: mail/fetchmail/Makefile
===================================================================
RCS file: /cvs/NetBSD/pkgsrc/mail/fetchmail/Makefile,v
retrieving revision 1.1.1.13
diff -c -r1.1.1.13 Makefile
*** mail/fetchmail/Makefile	1999/02/10 00:20:55	1.1.1.13
--- mail/fetchmail/Makefile	1999/03/26 23:36:27
***************
*** 12,17 ****
--- 12,20 ----
  
  CONFLICTS=	fetchmail-*
  
+ # we patch configure.in
+ BUILD_DEPENDS+=       autoconf:../../devel/autoconf
+ 
  GNU_CONFIGURE=	yes
  CONFIGURE_ENV=  LDFLAGS="${CFLAGS}"
  
***************
*** 25,30 ****
--- 28,38 ----
  
  post-extract:
  	${RM} -f ${WRKSRC}/md5.h
+ 
+ # we have patched configure.in -- this is easier than maintaining a
+ # huge patch to the configure script...
+ pre-configure:
+ 	(cd ${WRKSRC}; autoreconf)
  
  post-install:
  	${INSTALL} -d -m 555 -o ${DOCOWN} -g ${DOCGRP} ${FDOC}


-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>      <robohack!woods>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>