From owner-freebsd-python@FreeBSD.ORG Tue Jul 2 16:30:01 2013 Return-Path: <owner-freebsd-python@FreeBSD.ORG> Delivered-To: freebsd-python@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 39D88741 for <freebsd-python@smarthost.ysv.freebsd.org>; Tue, 2 Jul 2013 16:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 2C4511879 for <freebsd-python@smarthost.ysv.freebsd.org>; Tue, 2 Jul 2013 16:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r62GU0Ai059457 for <freebsd-python@freefall.freebsd.org>; Tue, 2 Jul 2013 16:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r62GU0Zt059456; Tue, 2 Jul 2013 16:30:00 GMT (envelope-from gnats) Date: Tue, 2 Jul 2013 16:30:00 GMT Message-Id: <201307021630.r62GU0Zt059456@freefall.freebsd.org> To: freebsd-python@FreeBSD.org Cc: From: Mathieu Arnold <mat@mat.cc> Subject: Re: ports/179812: Extract the python part from dns/ldns into dns/py-ldns X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Mathieu Arnold <mat@mat.cc> List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python> List-Post: <mailto:freebsd-python@freebsd.org> List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=subscribe> X-List-Received-Date: Tue, 02 Jul 2013 16:30:01 -0000 The following reply was made to PR ports/179812; it has been noted by GNATS. From: Mathieu Arnold <mat@mat.cc> To: Jaap Akkerhuis <jaap@NLnetLabs.nl> Cc: bug-followup@FreeBSD.org Subject: Re: ports/179812: Extract the python part from dns/ldns into dns/py-ldns Date: Tue, 02 Jul 2013 18:21:49 +0200 +--On 2 juillet 2013 14:12:49 +0200 Jaap Akkerhuis <jaap@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. -- Mathieu Arnold