ports/124918: lang/yorick add maintainer mode

Pedro F. Giffuni pfgshield-freebsd at yahoo.com
Tue Jun 24 02:30:02 UTC 2008


>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 at 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:



More information about the freebsd-ports-bugs mailing list