diff options
author | lioux <lioux@FreeBSD.org> | 2004-06-24 13:27:45 +0000 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2004-06-24 13:27:45 +0000 |
commit | b55549de4880a2758c330fe92020a858eed32910 (patch) | |
tree | 70dd476d0d776d3d6d27041fa1964cd95c492f2c | |
parent | ec8a82feef8cad046af54222d476773658b48b12 (diff) | |
download | FreeBSD-ports-b55549de4880a2758c330fe92020a858eed32910.zip FreeBSD-ports-b55549de4880a2758c330fe92020a858eed32910.tar.gz |
Add a WITH_PRESERVE_CONFIG_FILES knob which stops qmail from running
the configuration scripts upon installation (or, upgrade)
PR: 67828
Submitted by: Renato Botelho <renato@galle.com.br>
-rw-r--r-- | mail/qmail/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile index 041b21d..f857a7d 100644 --- a/mail/qmail/Makefile +++ b/mail/qmail/Makefile @@ -246,6 +246,10 @@ pre-pre-fetch: @${ECHO_MSG} " used by qmail when sending" @${ECHO_MSG} " outgoing messages" .endif # MAIN_QMAIL_PORT_WITH_OUTGOINGIP_PATCH_BARRIER +.if !defined(MAIN_QMAIL_PORT_WITH_PRESERVE_CONFIG_FILES_BARRIER) + @${ECHO_MSG} "WITH_PRESERVE_CONFIG_FILES=yes do not run automatic config" + @${ECHO_MSG} " to preserve your config files" +.endif # MAIN_QMAIL_PORT_WITH_PRESERVE_CONFIG_FILES_BARRIER @${ECHO_MSG} "#" .endif # MAIN_QMAIL_PORT_BUILD_WITH_OPTIONS_ADVERTISE_BARRIER @@ -322,7 +326,9 @@ do-install: .endfor @# This is not part of qmail proper, hence the 2nd class citizenship ${INSTALL_SCRIPT} ${FILESDIR}/mkaliasdir ${PREFIX}/${DOCDIR} +.if !defined(WITH_PRESERVE_CONFIG_FILES) @cd ${PREFIX}/configure ; ./config +.endif @${MKDIR} ${LOCALBASE}/etc/rc.d @${LN} -sf ${PREFIX}/rc ${LOCALBASE}/etc/rc.d/qmail.sh @${ECHO} |