summaryrefslogtreecommitdiff
path: root/regress/make-env-phases/Makefile
blob: 7178bb6683245c763de95ea634ec0c224f01cbfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $NetBSD: Makefile,v 1.4 2009/04/09 00:47:12 joerg Exp $
#

DISTNAME=	make-env-phases-1.0
CATEGORIES=	regress
MASTER_SITES=	# none
DISTFILES=	# none

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Tests whether MAKE_ENV changes between build and install phase

NO_CONFIGURE=	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"