aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2009-06-21 21:38:42 +0800
committerdinoex <dinoex@FreeBSD.org>2009-06-21 21:38:42 +0800
commitb366da737973f511042789f248ec9dde10eb4caf (patch)
tree796d106d8111f2f860139829fec17290297330d5 /mail
parent4a074e7b02f7e840cb7219d853c2d387b3031c21 (diff)
downloadfreebsd-ports-gnome-b366da737973f511042789f248ec9dde10eb4caf.tar.gz
freebsd-ports-gnome-b366da737973f511042789f248ec9dde10eb4caf.tar.zst
freebsd-ports-gnome-b366da737973f511042789f248ec9dde10eb4caf.zip
- fix build with custom PREFIX
Reported by: QAT
Diffstat (limited to 'mail')
-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} \