summaryrefslogtreecommitdiff
path: root/mail/fetchmail
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-03-29 16:26:46 +0000
committertron <tron@pkgsrc.org>1999-03-29 16:26:46 +0000
commit5a595ccd78649bef8509cfb68f0d35628ebef65a (patch)
treeb856bb36b693fdd38c6ba93c8ff67efca23d43dc /mail/fetchmail
parentd47976f2910cbe93d322f44ca204e745069f8e1a (diff)
downloadpkgsrc-5a595ccd78649bef8509cfb68f0d35628ebef65a.tar.gz
Patch by Greg A. Woods to use "autoconf" to reconfigure "configure"
because "configure.in" gets patched. Fixes PR pkg/7263 by Paul Dokas.
Diffstat (limited to 'mail/fetchmail')
-rw-r--r--mail/fetchmail/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile
index b6a6d2eec2d..21a6ac3629a 100644
--- a/mail/fetchmail/Makefile
+++ b/mail/fetchmail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 1999/02/20 22:48:33 hubertf Exp $
+# $NetBSD: Makefile,v 1.39 1999/03/29 16:26:46 tron Exp $
#
DISTNAME= fetchmail-4.7.7
@@ -10,6 +10,8 @@ MASTER_SITES= ftp://ftp.ccil.org/pub/esr/fetchmail/ \
MAINTAINER= mycroft@netbsd.org
HOMEPAGE= http://sagan.earthspace.net/~esr/fetchmail/
+BUILD_DEPENDS+= autoconf:../../devel/autoconf
+
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="${CFLAGS}"
@@ -19,11 +21,14 @@ CONFIGURE_ENV= LDFLAGS="${CFLAGS}"
CONFIGURE_ARGS += --with-kerberos=yes
.endif
-FDOC= ${PREFIX}/share/doc/fetchmail
+FDOC= ${PREFIX}/share/doc/fetchmail
post-extract:
${RM} -f ${WRKSRC}/md5.h
+pre-configure:
+ (cd ${WRKSRC}; autoreconf)
+
post-install:
${INSTALL} -d -m 555 -o ${DOCOWN} -g ${DOCGRP} ${FDOC}
cd ${WRKSRC} && ${INSTALL_DATA} \