freebsd-ports/japanese/sj3-lib/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

40 lines
885 B
Makefile

# New ports collection makefile for: sj3-lib
# Date created: 18 Aug 1998
# Whom: Hidekazu Kuroki <hidekazu@cs.titech.ac.jp>
#
# $FreeBSD$
#
PORTNAME= sj3
PORTVERSION= 2.0.1.20
PORTREVISION= 7
CATEGORIES= japanese
MASTER_SITES= LOCAL/nork
PKGNAMESUFFIX= -lib
PATCH_SITES= http://quasiquote.org/files/
PATCHFILES= ${PORTNAME}-qq-2.0.1.21.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= hrs@FreeBSD.org
COMMENT= A Japanese input method, library part
USE_GCC= any
USE_IMAKE= yes
USE_LDCONFIG= yes
NO_INSTALL_MANPAGES= yes
SUB_FILES= sj3_freebsd.tmpl
SUB_LIST= DESTDIR=${DESTDIR}
POSTPATCHES= ${FILESDIR}/post-patch-Imakefile \
${FILESDIR}/post-patch-include-Const.h
.include <bsd.port.pre.mk>
post-patch:
cd ${WRKSRC} && ${CAT} ${POSTPATCHES} | ${PATCH}
pre-configure: apply-slist
${INSTALL_DATA} ${WRKDIR}/sj3_freebsd.tmpl ${WRKSRC}/sj3_freebsd.tmpl
.include <bsd.port.post.mk>