freebsd-ports/japanese/skk-tools/Makefile
Mark Linimon a8693b8dee Force numerous ports that fail to build with clang over to instead always
rely on gcc.  The patch uses the new USE_GCC=any code in Mk/bsd.gcc.mk to
accomplish this.

The ports chosen were ports that blocked 2 or more ports from building with
clang.  (There are several hundred other ports that still fail to build with
clang, even with this patch.  This is merely one step along the way.)

Those interested in fixing these ports with clang, and have clang as their
default compiler, can simply set FORCE_BASE_CC_FOR_TESTING=yes.

For those who have gcc as their default compiler, this change is believed
to cause no change.

Hat:		portmgr
Tested with:	multiple runs on amd64-8-exp-bcm and 9-exp-clang, with various
		combinations of patch/no-patch and flag settings.
2012-10-09 22:12:13 +00:00

54 lines
1.1 KiB
Makefile

# New ports collection makefile for: skk-tools
# Date created: 31 Oct 1998
# Whom: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
#
# $FreeBSD$
#
PORTNAME= skk-tools
PORTVERSION= 1.3.2
PORTEPOCH= 1
CATEGORIES= japanese
MASTER_SITES= RINGSERVER/elisp/skk/tools \
http://openlab.ring.gr.jp/skk/tools/
DISTNAME= skktools-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Jisyo-tools for the SKK Japanese-input software
LICENSE= GPLv2
OPTIONS_DEFINE= EXPR2
OPTIONS_DEFAULT= EXPR2
EXPR2_DESC= Build skkdic-expr2 (needs glib-2.x)
USE_GCC= any
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
DOCSDIR= ${PREFIX}/share/doc/skk
PORTDOCS= README.skktools
PLIST_FILES= bin/skkdic-count bin/skkdic-expr bin/skkdic-sort
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEXPR2}
USE_GNOME= glib20
PORTDOCS+= README.skkdic-expr2
PLIST_FILES+= bin/skkdic-expr2
.else
CONFIGURE_ARGS= --without-skkdic-expr2
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/READMEs/README.C ${DOCSDIR}/README.skktools
.if ${PORT_OPTIONS:MEXPR2}
${INSTALL_DATA} ${WRKSRC}/READMEs/README.skkdic-expr2 ${DOCSDIR}
.endif
.endif
.include <bsd.port.mk>