summaryrefslogtreecommitdiffstats
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
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)
-rw-r--r--mail/qconfirm/Makefile6
-rw-r--r--sysutils/runit/Makefile6
-rw-r--r--sysutils/socklog/Makefile6
3 files changed, 15 insertions, 3 deletions
diff --git a/mail/qconfirm/Makefile b/mail/qconfirm/Makefile
index cf508a0..e1d2a38 100644
--- a/mail/qconfirm/Makefile
+++ b/mail/qconfirm/Makefile
@@ -27,7 +27,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
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