aboutsummaryrefslogtreecommitdiff
path: root/mail/spamilter
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2014-03-27 21:20:43 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2014-03-27 21:20:43 +0000
commitb4dee0b351903c7ee146cd8d476ac086fca86984 (patch)
treeef90b634644c731fcf80d10e5d312143f15abb2a /mail/spamilter
parentb7248c36d7e166a15907d44a8b81cd33d6252bc7 (diff)
downloadports-b4dee0b351903c7ee146cd8d476ac086fca86984.tar.gz
ports-b4dee0b351903c7ee146cd8d476ac086fca86984.zip
- fix build with custom CC
Notes
Notes: svn path=/head/; revision=349366
Diffstat (limited to 'mail/spamilter')
-rw-r--r--mail/spamilter/files/patch-Makefile.tmpl11
1 files changed, 10 insertions, 1 deletions
diff --git a/mail/spamilter/files/patch-Makefile.tmpl b/mail/spamilter/files/patch-Makefile.tmpl
index 8bc40ff38557..53f2b35e7830 100644
--- a/mail/spamilter/files/patch-Makefile.tmpl
+++ b/mail/spamilter/files/patch-Makefile.tmpl
@@ -1,5 +1,14 @@
--- Makefile.tmpl.orig 2005-11-27 21:52:05.000000000 +0100
-+++ Makefile.tmpl 2013-12-05 09:24:17.000000000 +0100
++++ Makefile.tmpl 2014-03-27 20:44:51.000000000 +0100
+@@ -10,7 +10,7 @@
+ <ALL> #
+ <ALL> #--------------------------------------------------------------------*
+ <ALL>
+-<ALL>CC = gcc
++<ALL>CC?= gcc
+ <ALL>SRCS = dns.c dnsbl.c hndlrs.c misc.c smisc.c mx.c smtp.c inet.c ifi.c bwlist.c badext.c <WITH_POPAUTH popauth.c><WITH_LIBSPF spfapi.c> <INC_SunOS nstring.c>
+ <ALL>OBJS = ${SRCS:.c=.o}
+ <ALL>INCLUDES = ${SRCS:.c=.h} spamilter.h <INC_OpenBSD ns_compat.h>
@@ -26,17 +26,17 @@
<ALL>INCLUDEDIR = -I. -I${SMDIR}/include <WITH_LIBSPF -I${LIBSPFINC}>
<INCDIRS>INCLUDEDIR += <X>