SA Bugzilla – Bug 1089
patches needed to do a decent package install
Last modified: 2002-10-10 00:33:12 UTC
To make a decent package install on both OpenBSD and Mandrake-linux: So I assume it applies to all platforms that do a fake install, I have to do the following: SAMPLE_CONFIG_DIR= ${PREFIX}/share/examples/SpamAssassin INSTALL_TARGET= LOCAL_RULES_DIR=${WRKINST}${SAMPLE_CONFIG_DIR} install ${WRKINST} is the fake install dir. Otherwise the make install target will install local.cf in /etc/somewhere This results in the rules that have the wrong comments. Fixed by: post-patch: perl -pi -e "s#\@\@LOCAL_RULES_DIR\@\@#${SAMPLE_CONFIG_DIR}#" ${WRKSRC}/rules/*
Hi Han, this is basically a duplicate of bug 1075. I've just checked in a fix for that bug (and this) by changing the Makefile code instead. It's best to track discussion on that bug instead of here. http://bugzilla.spamassassin.org/show_bug.cgi?id=1075 *** This bug has been marked as a duplicate of 1075 ***