From f86cad0ce3a80127b2912301315fa7dac042002d Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Mon, 2 Sep 2013 13:26:34 +0000 Subject: Two imake related changes: 1) Move -a from XMKMF command variable to a new XMKMF_ARGS variable. For ports that don't need -a introduce USES=imake:notall. This way ports no longer have to redefine XMKMF. 2) xmkmf -a runs imake with the flags in IMAKECPPFLAGS as extra arguments to set CPP, CC and CXX. This creates the top Makefile, and then xmkmf runs make Makefiles. This Makefiles target runs imake for each subdirectory but these imake invocations did not have the flags from IMAKECPPFLAGS so the resulting makefiles used the wrong C preprocessor when clang is used (/usr/bin/cpp instead of /usr/local/bin/tradcpp). Instead of letting xmkmf pass IMAKECPPFLAGS from the environment to imake let imake handle IMAKECPPFLAGS itself just like it handles IMAKEINCLUDE. This exposed configure errors in x11-clocks/mouseclock and x11-wm/fvwm. Approved by: portmgr (bapt) --- japanese/canna-lib/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'japanese/canna-lib') diff --git a/japanese/canna-lib/Makefile b/japanese/canna-lib/Makefile index 7dcefd6fd578..59a78f55ac9a 100644 --- a/japanese/canna-lib/Makefile +++ b/japanese/canna-lib/Makefile @@ -13,7 +13,7 @@ DISTNAME= Canna${PORTVERSION:S/.//g} MAINTAINER= hrs@FreeBSD.org COMMENT= A Kana-to-Kanji conversion system, library part -USES= imake +USES= imake:notall USE_BZIP2= yes USE_GCC= any USE_LDCONFIG= yes @@ -24,7 +24,6 @@ PLIST_SUB= METAFILE="${METAFILE}" \ ALL_TARGET= canna INSTALL_TARGET= instsgs -XMKMF= xmkmf METAFILE= ${DATADIR_REL}/canna-lib-dic.meta -- cgit v1.2.3