summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2004-03-25 22:15:48 +0000
committersergei <sergei@FreeBSD.org>2004-03-25 22:15:48 +0000
commit9732e4cd8f0c82950ad29d14285271c5e2693ef6 (patch)
treef15a6c5faa8a4a71b0bf02b604b9173f1dc11bb5 /sysutils
parent1104d0294bb16b5c089c77e4757e07c5c89af324 (diff)
downloadFreeBSD-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/Makefile6
-rw-r--r--sysutils/socklog/Makefile6
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
OpenPOWER on IntegriCloud