1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/japanese/canna-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

42 lines
870 B
Makefile

# New ports collection makefile for: canna-lib
# Date created: 7 September 2008
# Whom: hrs
#
# $FreeBSD$
#
PORTNAME= canna
PORTVERSION= 3.7p3
PORTREVISION= 8
CATEGORIES= japanese
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
MASTER_SITE_SUBDIR= canna/9565/
PKGNAMESUFFIX= -lib
DISTNAME= Canna${PORTVERSION:S/.//g}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A Kana-to-Kanji conversion system, library part
USE_BZIP2= yes
USE_GCC= any
USE_IMAKE= yes
USE_LDCONFIG= yes
NO_INSTALL_MANPAGES=yes
MAKE_JOBS_UNSAFE= yes
PLIST_SUB= METAFILE="${METAFILE}" \
MTREE_CMD="${MTREE_CMD}"
ALL_TARGET= canna
INSTALL_TARGET= instsgs
METAFILE= ${DATADIR_REL}/canna-lib-dic.meta
post-configure:
@cd ${CONFIGURE_WRKSRC} && ${SETENV} ${MAKE_ENV} ${XMKMF}
post-install:
${MTREE_CMD} -cdink uname,gname,mode,nochange \
-p ${DATADIR}/dic > ${PREFIX}/${METAFILE}
.include <bsd.port.mk>