aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/spamilter/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/spamilter/Makefile b/mail/spamilter/Makefile
index 672a391005eb..f1db47705c46 100644
--- a/mail/spamilter/Makefile
+++ b/mail/spamilter/Makefile
@@ -69,6 +69,9 @@ pre-configure:
-e "s=/etc/spamilter.rc=${PREFIX}/etc/spamilter.rc=" \
${WRKSRC}/spamilter.c \
${WRKSRC}/docs/docs.html ${WRKSRC}/docs/docs.txt
+ ${REINPLACE_CMD} \
+ -e "s=/usr/local/=${PREFIX}/=" \
+ ${WRKSRC}/Makefile.tmpl
xpost-configure:
${REINPLACE_CMD} \