diff options
author | sergei <sergei@FreeBSD.org> | 2004-03-25 22:15:48 +0000 |
---|---|---|
committer | sergei <sergei@FreeBSD.org> | 2004-03-25 22:15:48 +0000 |
commit | 9732e4cd8f0c82950ad29d14285271c5e2693ef6 (patch) | |
tree | f15a6c5faa8a4a71b0bf02b604b9173f1dc11bb5 /sysutils | |
parent | 1104d0294bb16b5c089c77e4757e07c5c89af324 (diff) | |
download | FreeBSD-ports-9732e4cd8f0c82950ad29d14285271c5e2693ef6.zip FreeBSD-ports-9732e4cd8f0c82950ad29d14285271c5e2693ef6.tar.gz |
- Make running self-tests an optional step since it may fail
in some environments (particularlly, bento's).
Move it from do-build to a new test target.
Reported by: bento (via kris)
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/runit/Makefile | 6 | ||||
-rw-r--r-- | sysutils/socklog/Makefile | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/sysutils/runit/Makefile b/sysutils/runit/Makefile index 2b00388..bd1e6fd 100644 --- a/sysutils/runit/Makefile +++ b/sysutils/runit/Makefile @@ -30,7 +30,7 @@ do-configure: ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc do-build: - cd ${WRKSRC} && package/compile && package/check + cd ${WRKSRC} && package/compile @${MKDIR} ${WRKDIR}/etc/getty-ttyv4 @${SED} -e 's!%%PREFIX%%!${PREFIX}!' \ -e 's!%%SERVICE_DIR%%!${SERVICE_DIR}!' \ @@ -41,6 +41,10 @@ do-build: -e 's!/usr/local!${PREFIX}!g' \ ${WRKSRC}/${file} > ${WRKDIR}/${file:S!freebsd/!!}.sample .endfor + @${ECHO_MSG} "Type 'make test' to run self-tests" + +test: + cd ${WRKSRC} && package/check do-install: ${INSTALL_PROGRAM} ${WRKSRC}/command/* ${PREFIX}/sbin diff --git a/sysutils/socklog/Makefile b/sysutils/socklog/Makefile index 3886b6d..8504dde 100644 --- a/sysutils/socklog/Makefile +++ b/sysutils/socklog/Makefile @@ -26,7 +26,11 @@ do-configure: ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc do-build: - cd ${WRKSRC} && package/compile && package/check + cd ${WRKSRC} && package/compile + @${ECHO_MSG} "Type 'make test' to run self-tests" + +test: + cd ${WRKSRC} && package/check do-install: ${INSTALL_PROGRAM} ${WRKSRC}/command/* ${PREFIX}/bin |