pkgsrc/regress/make-env-phases/Makefile
ben 8fbd1d3ce0 Initial import of a test that checks whether MAKE_ENV changes between
build and install phase.  MAKE_ENV needs to remain the same for
packages that use scons.  Otherwise, in the install step, scons will
take the new MAKE_ENV to mean that the build action changed, and it will
rebuild the package with the wrong configuration and install that.
2006-09-06 03:37:14 +00:00

28 lines
704 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2006/09/06 03:37:14 ben Exp $
#
DISTNAME= make-env-phases-1.0
CATEGORIES= regress
MASTER_SITES= # none
DISTFILES= # none
MAINTAINER= tech-pkg@NetBSD.org
COMMENT= Tests whether MAKE_ENV changes between build and install phase
NO_CHECKSUM= yes
NO_CONFIGURE= yes
NO_PACKAGE= yes
WRKSRC= ${WRKDIR}
do-build:
@cd ${WRKDIR} && \
echo "${MAKE_ENV}" >build-make-env.txt
do-install:
@cd ${WRKDIR} && \
echo "${MAKE_ENV}" >install-make-env.txt && \
${CMP} build-make-env.txt install-make-env.txt >/dev/null && \
echo "The variable MAKE_ENV remains unchanged."
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"