aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2014-01-06 21:04:14 +0000
committerXin LI <delphij@FreeBSD.org>2014-01-06 21:04:14 +0000
commit3e02f28d763d95832a797aa025ff8225dd8ddcf1 (patch)
tree01a6de6ebd1bd4baef8d5636d45560f1ecc3876e /chinese
parent623f5756f28fdda0d23abd61c81574f742cd42e9 (diff)
downloadports-3e02f28d763d95832a797aa025ff8225dd8ddcf1.tar.gz
ports-3e02f28d763d95832a797aa025ff8225dd8ddcf1.zip
Notes
Diffstat (limited to 'chinese')
-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>