aboutsummaryrefslogtreecommitdiff
path: root/mail/vpopmail-devel
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2002-09-20 19:55:07 +0000
committerPeter Pentchev <roam@FreeBSD.org>2002-09-20 19:55:07 +0000
commit4715f698e0ba6d0b340c9351bfdcbd3eb6fec6cc (patch)
treedc62cd565e04b04dd735fa5f8543d7b1750918a8 /mail/vpopmail-devel
parent51fbc4440b4b430ce072e73ecef8808c734a33fd (diff)
downloadports-4715f698e0ba6d0b340c9351bfdcbd3eb6fec6cc.tar.gz
ports-4715f698e0ba6d0b340c9351bfdcbd3eb6fec6cc.zip
Apply a blessed +3 magic wand of autotools protection; a rogue run of
autoconf or automake over our local patches can ruin your whole day. This rarely, if ever, affected the vpopmail ports, causing mysterious failures at install time, but inevitably killed the stunnel build if automake-1.5 happened to be installed. Reported by: Dan Langille <dan@langille.org> for stunnel, Sitchin Zech <mailsagan@yahoo.com> for vpopmail
Notes
Notes: svn path=/head/; revision=66882
Diffstat (limited to 'mail/vpopmail-devel')
-rw-r--r--mail/vpopmail-devel/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/vpopmail-devel/Makefile b/mail/vpopmail-devel/Makefile
index 0d96bead0cf7..b12f83631615 100644
--- a/mail/vpopmail-devel/Makefile
+++ b/mail/vpopmail-devel/Makefile
@@ -19,6 +19,7 @@ RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail \
GNU_CONFIGURE= YES
USE_GMAKE= YES
+USE_REINPLACE= YES
VCFGDIR?= ${WRKDIR}/vcfg
VCFGFILES?= inc_deps lib_deps tcp.smtp
@@ -238,6 +239,11 @@ CONFIGURE_ARGS+= --enable-users-big-dir=n
CONFIGURE_ARGS+= --enable-make-seekable=n
.endif
+# autoconf and automake can remove our patches to the configure scripts.
+
+post-patch:
+ @${FIND} ${WRKSRC} -type f -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -E -e 's,@(ACLOCAL|AUTO(MAKE|CONF|HEADER))@,/usr/bin/true,'
+
#
# This port doesn't honour PREFIX, it honours vpopmail's home directory.
# Since we create vpopmail if it doesn't exist, we set it so that it