aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/libspamtest/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/libspamtest/Makefile b/mail/libspamtest/Makefile
index cfff1555f052..d71844c1a982 100644
--- a/mail/libspamtest/Makefile
+++ b/mail/libspamtest/Makefile
@@ -18,6 +18,11 @@ INCLUDES= spamtest.h \
msgstore.h
NO_STAGE= yes
+
+post-patch-script:
+ @${REINPLACE_CMD} -e 's|gcc|${CC}|g' \
+ ${WRKSRC}/${MAKEFILE}
+
do-install:
${MKDIR} ${PREFIX}/ap-mailfilter3/lib ${PREFIX}/ap-mailfilter3/include
${INSTALL_DATA} ${LIBS:S,^,${WRKSRC}/,} ${PREFIX}/ap-mailfilter3/lib