summaryrefslogtreecommitdiff
path: root/mail/libspamtest
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-09-22 06:48:45 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-09-22 06:48:45 +0000
commit58c11ef9cb7d8e826486057632128300f0513ea3 (patch)
tree01a70011907663cb93b1e5e07b30427cdc61b0e1 /mail/libspamtest
parent- Update to 0.006 (diff)
- remove hardcoding of gcc
PR: 182236 (based on) Submitted by: alexey@renatasystems.org ( maintainer )
Notes
Notes: svn path=/head/; revision=327854
Diffstat (limited to 'mail/libspamtest')
-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