diff options
-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> |