[BACK]Return to bad-env-usage.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / inputmethod / ibus

File: [cvs.NetBSD.org] / pkgsrc / inputmethod / ibus / bad-env-usage.mk (download)

Revision 1.1, Wed Aug 11 13:11:56 2010 UTC (9 years, 11 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3

Add workaround for upstream Issue#1029:
http://code.google.com/p/ibus/issues/detail?id=1029

# $NetBSD: bad-env-usage.mk,v 1.1 2010/08/11 13:11:56 obache Exp $
#

# Makefile intended to be included by packages that need to fix bad env usage:
#   http://code.google.com/p/ibus/issues/detail?id=1029

SUBST_CLASSES+=		badenv
SUBST_MESSAGE.badenv=	Fixing bad ENV usage.
SUBST_STAGE.badenv=	do-configure-pre-hook
SUBST_FILES.badenv=	${_REPLACE_LOCALEDIR}
SUBST_SED.badenv=	-e 's|^ENV[ 	:]*=|BIN_ENV=|'	
SUBST_SED.badenv+=	-e 's|\$$(ENV)|$$\(BIN_ENV\)|g'