aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/ibus-pinyin
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2014-01-07 05:04:14 +0800
committerdelphij <delphij@FreeBSD.org>2014-01-07 05:04:14 +0800
commit410ffe223477f6a7c63aed061cb6e1f1c2de1688 (patch)
tree01a6de6ebd1bd4baef8d5636d45560f1ecc3876e /chinese/ibus-pinyin
parent9d5ff51b4760a73089cf1f565c32511243af3fb9 (diff)
downloadfreebsd-ports-gnome-410ffe223477f6a7c63aed061cb6e1f1c2de1688.tar.gz
freebsd-ports-gnome-410ffe223477f6a7c63aed061cb6e1f1c2de1688.tar.zst
freebsd-ports-gnome-410ffe223477f6a7c63aed061cb6e1f1c2de1688.zip
Revise previous change: only remove USE_GCC=yes when we are using
a fresh -CURRENT (after clang have made default). PORTREVISION not bumped because this is a build fix for earlier FreeBSD versions. Reported by: Henry Hu (maintainer), kmoore
Diffstat (limited to 'chinese/ibus-pinyin')
-rw-r--r--chinese/ibus-pinyin/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/chinese/ibus-pinyin/Makefile b/chinese/ibus-pinyin/Makefile
index c557d2e95650..f21c9d4aafda 100644
--- a/chinese/ibus-pinyin/Makefile
+++ b/chinese/ibus-pinyin/Makefile
@@ -32,6 +32,12 @@ ANDROID_DB_DESC= Build Android DB
OPENPHRASE_DB_DESC= Build Open Phrase DB
OPENCC_DESC= Use opencc
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 1000024
+USE_GCC= yes
+.endif
+
NO_STAGE= yes
.include <bsd.port.options.mk>
@@ -78,4 +84,4 @@ post-extract:
post-patch:
@${REINPLACE_CMD} -e 's|DATADIRNAME=lib|DATADIRNAME=share|' ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>