On 06/giu/2013, at 08:19, Ryan Schmidt <[email protected]> wrote:
> On Jun 5, 2013, at 02:55, [email protected] wrote: > >> Revision: 106691 >> https://trac.macports.org/changeset/106691 >> Author: [email protected] >> Date: 2013-06-05 00:55:54 -0700 (Wed, 05 Jun 2013) >> Log Message: >> ----------- >> devel/coccinelle: >> fix homepage (I like it better without the slash at the end) >> add some dependencies and explicitly enable them >> add variant for pcre >> fix python variants >> >> Modified Paths: >> -------------- >> trunk/dports/devel/coccinelle/Portfile >> >> Modified: trunk/dports/devel/coccinelle/Portfile >> =================================================================== >> --- trunk/dports/devel/coccinelle/Portfile 2013-06-05 07:17:42 UTC (rev >> 106690) >> +++ trunk/dports/devel/coccinelle/Portfile 2013-06-05 07:55:54 UTC (rev >> 106691) >> @@ -5,6 +5,7 @@ >> >> name coccinelle >> version 1.0.0-rc17 >> +revision 1 >> license GPL-2 >> maintainers g5pw openmaintainer >> >> @@ -16,12 +17,14 @@ >> >> platforms darwin >> >> -homepage http://coccinelle.lip6.fr/ >> +homepage http://coccinelle.lip6.fr >> >> depends_lib port:ocaml \ >> port:ocaml-findlib \ >> + port:ocaml-menhir \ >> + port:ocaml-pcre > > >> +variant pcre description {Enable PCRE support} { >> + configure.args-delete --disable-pcre >> + configure.args-append --enable-pcre >> + >> + depends_lib port:pcre >> +} > > You should append to depends_lib, not overwrite it. > > However, ocaml-pcre already depends on pcre, so why not enable pcre support > always, since it wouldn't add any additional dependencies? Good catch, I actually got a little mixed up… fixed in r106724! -- Aljaž Srebrnič a.k.a g5pw My public key: http://bit.ly/g5pw_pubkey _______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
