diff options
author | brooks <brooks@FreeBSD.org> | 2008-06-20 11:50:58 +0800 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2008-06-20 11:50:58 +0800 |
commit | 90d2845df1288b2b85054a2d943c357832faac06 (patch) | |
tree | b0819c3ef728925837c85a333a3bcc8609b0367d /devel | |
parent | 848d42e0f1ba6fc57262bcbf0f09c19a4f92ed20 (diff) | |
download | freebsd-ports-gnome-90d2845df1288b2b85054a2d943c357832faac06.tar.gz freebsd-ports-gnome-90d2845df1288b2b85054a2d943c357832faac06.tar.zst freebsd-ports-gnome-90d2845df1288b2b85054a2d943c357832faac06.zip |
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
Diffstat (limited to 'devel')
-rw-r--r-- | devel/llvm/Makefile | 9 | ||||
-rw-r--r-- | devel/llvm29/Makefile | 9 |
2 files changed, 10 insertions, 8 deletions
diff --git a/devel/llvm/Makefile b/devel/llvm/Makefile index d19ffcfd619f..605060566c0b 100644 --- a/devel/llvm/Makefile +++ b/devel/llvm/Makefile @@ -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> diff --git a/devel/llvm29/Makefile b/devel/llvm29/Makefile index d19ffcfd619f..605060566c0b 100644 --- a/devel/llvm29/Makefile +++ b/devel/llvm29/Makefile @@ -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> |