1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Depend on dejagnu if either PACKAGE_BUILDING or MAINTAINER_MODE are set so

the regression tests get run on the package cluster.  Make regression-test
depend on build.  Remove an extra blank line.

Submitted by:	pfgshield dash freebsd at yahoo dot com
This commit is contained in:
Brooks Davis 2008-06-20 03:50:58 +00:00
parent 8bca2d4fcf
commit 15c2a29314
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=215314
2 changed files with 10 additions and 8 deletions

View File

@ -15,9 +15,11 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= brooks@FreeBSD.org
COMMENT= Low Level Virtual Machine
.if defined(PACKAGE_BUILDING) || defined(MAINTAINER_MODE)
BUILD_DEPENDS= runtest:${PORTSDIR}/misc/dejagnu
.endif
.if defined(MAINTAINER_MODE)
BUILD_DEPENDS= f2c:${PORTSDIR}/lang/f2c \
runtest:${PORTSDIR}/misc/dejagnu
BUILD_DEPENDS+= f2c:${PORTSDIR}/lang/f2c
.endif
GNU_CONFIGURE= yes
@ -46,8 +48,7 @@ post-install:
@${RM} ${PREFIX}/bin/.dir \
${PREFIX}/lib/.dir
regression-test:
regression-test: build
(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} ${GMAKE} check)
.include <bsd.port.mk>

View File

@ -15,9 +15,11 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= brooks@FreeBSD.org
COMMENT= Low Level Virtual Machine
.if defined(PACKAGE_BUILDING) || defined(MAINTAINER_MODE)
BUILD_DEPENDS= runtest:${PORTSDIR}/misc/dejagnu
.endif
.if defined(MAINTAINER_MODE)
BUILD_DEPENDS= f2c:${PORTSDIR}/lang/f2c \
runtest:${PORTSDIR}/misc/dejagnu
BUILD_DEPENDS+= f2c:${PORTSDIR}/lang/f2c
.endif
GNU_CONFIGURE= yes
@ -46,8 +48,7 @@ post-install:
@${RM} ${PREFIX}/bin/.dir \
${PREFIX}/lib/.dir
regression-test:
regression-test: build
(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} ${GMAKE} check)
.include <bsd.port.mk>