svn commit: r338933 - head/chinese/ibus-pinyin

Xin LI delphij at FreeBSD.org
Mon Jan 6 21:04:15 UTC 2014


Author: delphij
Date: Mon Jan  6 21:04:14 2014
New Revision: 338933
URL: http://svnweb.freebsd.org/changeset/ports/338933

Log:
  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

Modified:
  head/chinese/ibus-pinyin/Makefile

Modified: head/chinese/ibus-pinyin/Makefile
==============================================================================
--- head/chinese/ibus-pinyin/Makefile	Mon Jan  6 21:03:29 2014	(r338932)
+++ head/chinese/ibus-pinyin/Makefile	Mon Jan  6 21:04:14 2014	(r338933)
@@ -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>


More information about the svn-ports-all mailing list