aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2014-03-28 05:20:43 +0800
committerdinoex <dinoex@FreeBSD.org>2014-03-28 05:20:43 +0800
commit0e4ec016d81577348255c5f4c96f1d212784478e (patch)
treeef90b634644c731fcf80d10e5d312143f15abb2a /mail
parenta9d7e137ab7f76d085e795e624c991acca11c0f0 (diff)
downloadfreebsd-ports-gnome-0e4ec016d81577348255c5f4c96f1d212784478e.tar.gz
freebsd-ports-gnome-0e4ec016d81577348255c5f4c96f1d212784478e.tar.zst
freebsd-ports-gnome-0e4ec016d81577348255c5f4c96f1d212784478e.zip
- fix build with custom CC
Diffstat (limited to 'mail')
-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>