On Jul 30, 2008, at 12:50, [EMAIL PROTECTED] wrote: > Revision: 38761 > http://trac.macosforge.org/projects/macports/changeset/38761 > Author: [EMAIL PROTECTED] > Date: 2008-07-30 10:50:38 -0700 (Wed, 30 Jul 2008) > Log Message: > ----------- > Add profiling variant (mostly of interest to those working to > improve darcs internals).
FYI, when you add a variant, you don't need to increase the port revision, since nothing will change for those users who already had the port installed. > Modified Paths: > -------------- > trunk/dports/devel/darcs/Portfile > > Added Paths: > ----------- > trunk/dports/devel/darcs/files/ > trunk/dports/devel/darcs/files/patch-GNUmakefile.diff > > Modified: trunk/dports/devel/darcs/Portfile > =================================================================== > --- trunk/dports/devel/darcs/Portfile 2008-07-30 16:29:11 UTC (rev > 38760) > +++ trunk/dports/devel/darcs/Portfile 2008-07-30 17:50:38 UTC (rev > 38761) > @@ -4,6 +4,7 @@ > > name darcs > version 2.0.2 > +revision 1 > categories devel > maintainers [EMAIL PROTECTED] > description David's Advanced Revision Control System > @@ -37,3 +38,8 @@ > configure.args-append --with-docs > } > > +variant profiling description {Build darcs with runtime profiling > enabled} { > + configure.args-append --enable-profile > + patchfiles-append patch-GNUmakefile.diff > +} _______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev