aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/squirrelmail/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/squirrelmail/Makefile b/mail/squirrelmail/Makefile
index fac3a1404000..b2d12663d72f 100644
--- a/mail/squirrelmail/Makefile
+++ b/mail/squirrelmail/Makefile
@@ -62,7 +62,10 @@ post-patch:
.endif
@${REINPLACE_CMD} -e 's|ispell|${LOCALBASE}/bin/ispell|g' \
${WRKSRC}/plugins/squirrelspell/sqspell_config.php
- @${RM} ${WRKSRC}/plugins/squirrelspell/sqspell_config.php.bak
+ @${REINPLACE_CMD} -e 's|/usr/bin/fortune|/usr/games/fortune|g' \
+ ${WRKSRC}/plugins/fortune/fortune_functions.php
+ @${RM} ${WRKSRC}/plugins/squirrelspell/sqspell_config.php.bak \
+ ${WRKSRC}/plugins/fortune/fortune_functions.php.bak
# Rearrange the documentation
do-build: