aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2014-02-22 14:10:26 +0800
committerbdrewery <bdrewery@FreeBSD.org>2014-02-22 14:10:26 +0800
commitfb3c1eb1b6574076c264436ca51c75f2880c6054 (patch)
tree534925dc38d3669ca8bcd1d94595cbaa24aa67e6
parent94964684c0c091043ddc0a34ff811b3306aadcb7 (diff)
downloadfreebsd-ports-gnome-fb3c1eb1b6574076c264436ca51c75f2880c6054.tar.gz
freebsd-ports-gnome-fb3c1eb1b6574076c264436ca51c75f2880c6054.tar.zst
freebsd-ports-gnome-fb3c1eb1b6574076c264436ca51c75f2880c6054.zip
Fix build without gcc on 10+
-rw-r--r--mail/simscan/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/simscan/Makefile b/mail/simscan/Makefile
index eb99100a8cc2..3eaf9fce26ad 100644
--- a/mail/simscan/Makefile
+++ b/mail/simscan/Makefile
@@ -125,6 +125,8 @@ fi
post-patch:
@${REINPLACE_CMD} -E 's,($f/daily.cvd"),\1 || test -d "$$f/daily.inc",' \
${WRKSRC}/configure
+ @${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/cdb/conf-cc
+ @${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/cdb/conf-ld
pre-configure:
@${ECHO_MSG} ""