aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2006-06-25 02:15:11 +0800
committeritetcu <itetcu@FreeBSD.org>2006-06-25 02:15:11 +0800
commitca11e59d35c73fc67193c31b23f94fb28916a219 (patch)
treef2b2ed89df60d81691dcf7bd05d749ffaaa97a43 /sysutils
parent169734282c128799940bff97ce4315aedbed2e56 (diff)
downloadfreebsd-ports-gnome-ca11e59d35c73fc67193c31b23f94fb28916a219.tar.gz
freebsd-ports-gnome-ca11e59d35c73fc67193c31b23f94fb28916a219.tar.zst
freebsd-ports-gnome-ca11e59d35c73fc67193c31b23f94fb28916a219.zip
- move setup of compiler and compiler flags to the pre-build target
- no longer override do-build - define a new regression-test target depending on build that calls the package's regression test scripts and allows for automated regression testing on the ports cluster PR: ports/99427 Submitted by: maintainer
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/uschedule/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/sysutils/uschedule/Makefile b/sysutils/uschedule/Makefile
index 638bcfd2e24f..c18b49920a0c 100644
--- a/sysutils/uschedule/Makefile
+++ b/sysutils/uschedule/Makefile
@@ -31,10 +31,12 @@ sbin= uscheduled
PLIST_FILES= ${bin:S,^,bin/,}
PLIST_FILES+= ${sbin:S,^,sbin/,}
-do-build:
- ${ECHO_CMD} ${CC} > ${WRKSRC}/src/conf-cc
- ${ECHO_CMD} ${CFLAGS} > ${WRKSRC}/src/conf-cflags
- cd ${WRKSRC} && package/build
+pre-build:
+ ${ECHO_CMD} "${CC}" > ${WRKSRC}/src/conf-cc
+ ${ECHO_CMD} "${CFLAGS}" > ${WRKSRC}/src/conf-cflags
+
+regression-test: build
+ cd ${WRKSRC} && ${MAKE} check
do-install:
.if !defined(NOPORTDOCS)