aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-09-22 14:48:45 +0800
committerjgh <jgh@FreeBSD.org>2013-09-22 14:48:45 +0800
commit6e7f8e815ed1720e647055af312147968ce2b2b0 (patch)
tree01a70011907663cb93b1e5e07b30427cdc61b0e1 /mail
parent8eff8f269d6adc8b94b3b8002d8c624327051748 (diff)
downloadfreebsd-ports-gnome-6e7f8e815ed1720e647055af312147968ce2b2b0.tar.gz
freebsd-ports-gnome-6e7f8e815ed1720e647055af312147968ce2b2b0.tar.zst
freebsd-ports-gnome-6e7f8e815ed1720e647055af312147968ce2b2b0.zip
- remove hardcoding of gcc
PR: 182236 (based on) Submitted by: alexey@renatasystems.org ( maintainer )
Diffstat (limited to 'mail')
-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