ports/84263: add 'test' target if it's a perl module
Yen-Ming Lee
leeym at utopia.leeym.com
Fri Jul 29 02:30:27 UTC 2005
>Number: 84263
>Category: ports
>Synopsis: add 'test' target if it's a perl module
>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: Fri Jul 29 02:30:25 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD utopia.leeym.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Sun Jul 17 07:50:25 CST 2005 root at utopia.leeym.com:/usr/obj/usr/src/sys/UTOPIA i386
>Description:
- Add 'test' target if it's a perl module.
(It will help maintainers to check if the module works correctly.)
>How-To-Repeat:
>Fix:
--- bsd.port.mk.diff begins here ---
Index: bsd.port.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.515
diff -u -r1.515 bsd.port.mk
--- bsd.port.mk 24 Jun 2005 09:18:54 -0000 1.515
+++ bsd.port.mk 29 Jul 2005 02:21:41 -0000
@@ -2158,6 +2158,10 @@
ALL_TARGET?= all
INSTALL_TARGET?= install
+.if defined(PERL_CONFIGURE)
+ALL_TARGET+= test
+.endif
+
# This is a mid-term solution patch while pkg-comment files are
# phased out.
# The final simpler patch will come afterwards
--- bsd.port.mk.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list