From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 7 00:50:04 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBFE0106564A for ; Tue, 7 Aug 2012 00:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 95F358FC15 for ; Tue, 7 Aug 2012 00:50:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q770o4vY051148 for ; Tue, 7 Aug 2012 00:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q770o4Hu051147; Tue, 7 Aug 2012 00:50:04 GMT (envelope-from gnats) Resent-Date: Tue, 7 Aug 2012 00:50:04 GMT Resent-Message-Id: <201208070050.q770o4Hu051147@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "A.J. Kehoe IV (Nanoman)" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75B021065670 for ; Tue, 7 Aug 2012 00:42:31 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 60AD68FC12 for ; Tue, 7 Aug 2012 00:42:31 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q770gV3D007406 for ; Tue, 7 Aug 2012 00:42:31 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q770gVws007405; Tue, 7 Aug 2012 00:42:31 GMT (envelope-from nobody) Message-Id: <201208070042.q770gVws007405@red.freebsd.org> Date: Tue, 7 Aug 2012 00:42:31 GMT From: "A.J. Kehoe IV (Nanoman)" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/170434: [patch] Correct devel/py-gobject Dependency Declaration X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2012 00:50:04 -0000 >Number: 170434 >Category: ports >Synopsis: [patch] Correct devel/py-gobject Dependency Declaration >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Aug 07 00:50:04 UTC 2012 >Closed-Date: >Last-Modified: >Originator: A.J. Kehoe IV (Nanoman) >Release: 9.0 >Organization: Nanoman's Company >Environment: FreeBSD localhost 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The FreeBSD port devel/py-gobject uses automatic detection to declare an optional dependency. This causes problems for port and package management. >How-To-Repeat: >Fix: I've attached a patch that corrects this by using the method suggested in the FreeBSD Porter's Handbook on the "Dependencies" page under "Problems Caused by Automatic Dependencies": http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-depend.html Patch attached with submission follows: --- ports/devel/py-gobject/Makefile.old 2012-06-01 01:17:46.000000000 -0400 +++ ports/devel/py-gobject/Makefile 2012-08-06 20:37:37.927653000 -0400 @@ -37,9 +37,12 @@ CONFLICTS= py*-gtk-0* PLIST_SUB= PYTHON_VER="${PYTHON_VER}" +OPTIONS_DEFINE= LIBFFI +LIBFFI_DESC= Enable libffi support + .include -.if exists(${LOCALBASE}/lib/libffi.so) +.if ${PORT_OPTIONS:MLIBFFI} LIB_DEPENDS+= ffi.5:${PORTSDIR}/devel/libffi CONFIGURE_ARGS+=--with-ffi .else >Release-Note: >Audit-Trail: >Unformatted: