ports/179812: Extract the python part from dns/ldns into dns/py-ldns
Jaap Akkerhuis
jaap at NLnetLabs.nl
Tue Jul 2 16:50:02 UTC 2013
The following reply was made to PR ports/179812; it has been noted by GNATS.
From: Jaap Akkerhuis <jaap at NLnetLabs.nl>
To: Mathieu Arnold <mat at mat.cc>
Cc: bug-followup at FreeBSD.org
Subject: Re: ports/179812: Extract the python part from dns/ldns into dns/py-ldns
Date: Tue, 02 Jul 2013 18:47:05 +0200
> +--On 2 juillet 2013 14:12:49 +0200 Jaap Akkerhuis <jaap at NLnetLabs.nl>
> wrote:
> | Hi,
> |
> | >What about enclosing the post-configure, post-build and post-install
> | inside >a .if !defined(BUILD_PYLDNS) ?
> | >There's no point of adding them if they're empty anyway.
> |
> | I personally dislike nested .if statements and try to avoid them
> | but yes, it likely works just as well.
>
> Well, I've thought about it for a while when I was cooking the patch, it's
> either :
> - what I did with nested .if's
> - extract what's not needed by the python part in another file and include
> it (ugly)
> - copying stuffs to dns/py-ldns so that they're no longer master/slave but
> it'd be twice the load for each upgrade.
Yes, it is a devilish dilemma. When I said "dislike" it doesn't
mean I'm dead against it. I can go either way, either the big .if
or the repeated !defined(BUILD_PYLDNS). You pick.
jaap
More information about the freebsd-python
mailing list