From b366da737973f511042789f248ec9dde10eb4caf Mon Sep 17 00:00:00 2001 From: dinoex Date: Sun, 21 Jun 2009 13:38:42 +0000 Subject: - fix build with custom PREFIX Reported by: QAT --- mail/spamilter/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mail/spamilter') 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} \ -- cgit