Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 2008 02:21:37 GMT
From:      "Pedro F. Giffuni" <pfgshield-freebsd@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/124918: lang/yorick add maintainer mode
Message-ID:  <200806240221.m5O2LbDb087348@www.freebsd.org>
Resent-Message-ID: <200806240230.m5O2U1CO031637@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         124918
>Category:       ports
>Synopsis:       lang/yorick add maintainer mode
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 24 02:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Pedro F. Giffuni
>Release:        6.3-Release
>Organization:
>Environment:
FreeBSD kakumen.cable.net.co 6.3-RELEASE FreeBSD 6.3-RELEASE #10: Sat Jan 19 01:13:55 COT 2008     root@kakumen.cable.net.co:/usr/src/sys/amd64/compile/SMP  amd64
>Description:
I added a regression-test target for yorick, however, since it requires and X terminal to complete I hid it under the MAINTAINER_MODE.
>How-To-Repeat:

>Fix:
diff -ruN yorick.orig/Makefile yorick/Makefile
--- yorick.orig/Makefile	2008-06-23 21:07:31.000000000 -0500
+++ yorick/Makefile	2008-06-23 21:09:19.000000000 -0500
@@ -56,4 +56,10 @@
 	  ${INSTALL_DATA} $$f ${PREFIX}/${INFO_PATH}; \
 	done
 
+.ifdef MAINTAINER_MODE
+regression-test: build
+	(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} check)
+
+.endif
+
 .include <bsd.port.mk>


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806240221.m5O2LbDb087348>