ports/84263: add 'test' target if it's a perl module
Yen-Ming Lee
leeym at FreeBSD.org
Fri Jul 29 02:50:24 UTC 2005
The following reply was made to PR ports/84263; it has been noted by GNATS.
From: Yen-Ming Lee <leeym at FreeBSD.org>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/84263: add 'test' target if it's a perl module
Date: Fri, 29 Jul 2005 10:41:52 +0800
--WIyZ46R2i8wDzkSu
Content-Type: text/plain; charset=big5
Content-Disposition: inline
Hmm..
It will slow down the packages building process. I think it'll be better
if we wrap it with ENABLE_PERL_MODULE_TEST or something like that, and keep
it disabled by default.
--- 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) && defined(ENABLE_PERL_MODULE_TEST)
+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 ---
--
Yen-Ming Lee [utf7:+Z05fZWYO] | KeyID:0x5EB52E51 | Taipei, Taiwan
--WIyZ46R2i8wDzkSu
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)
iQCVAwUBQumXcMnMx0NetS5RAQKQVgP+IIaTcwbwzLJtBT4OZxLSUAitesP6TIfi
5ss96L9VxftHHvQ5+NOa0vIREsittS6nPI04tgc8cKwEZVU3fMij0PtCGkgtjqpn
/BV8aEoG5MwkvhYl3lKdx2kbgCQ/64naD8gF6RH9TQMgp+Bn2gDr+XGdtwda7NEg
1PfyyMXekCo=
=S2O1
-----END PGP SIGNATURE-----
--WIyZ46R2i8wDzkSu--
More information about the freebsd-ports-bugs
mailing list