From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Dec 22 02:30:05 2009 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 B7B861065676 for ; Tue, 22 Dec 2009 02:30:05 +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 79EC68FC19 for ; Tue, 22 Dec 2009 02:30:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBM2U53C051715 for ; Tue, 22 Dec 2009 02:30:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBM2U5Bq051714; Tue, 22 Dec 2009 02:30:05 GMT (envelope-from gnats) Resent-Date: Tue, 22 Dec 2009 02:30:05 GMT Resent-Message-Id: <200912220230.nBM2U5Bq051714@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, "Carlos A. M. dos Santos" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAE211065697 for ; Tue, 22 Dec 2009 02:25:32 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id B9DA58FC12 for ; Tue, 22 Dec 2009 02:25:32 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nBM2PWkF035836 for ; Tue, 22 Dec 2009 02:25:32 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nBM2PWmr035835; Tue, 22 Dec 2009 02:25:32 GMT (envelope-from nobody) Message-Id: <200912220225.nBM2PWmr035835@www.freebsd.org> Date: Tue, 22 Dec 2009 02:25:32 GMT From: "Carlos A. M. dos Santos" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/141859: www/webkit-gtk2: ensure dependence on the right "flex" program [PATCH] 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, 22 Dec 2009 02:30:05 -0000 >Number: 141859 >Category: ports >Synopsis: www/webkit-gtk2: ensure dependence on the right "flex" program [PATCH] >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 22 02:30:05 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Carlos A. M. dos Santos >Release: 9.0-CURRENT >Organization: N.A. >Environment: FreeBSD avatar 9.0-CURRENT FreeBSD 9.0-CURRENT #4: Mon Dec 7 03:06:31 UTC 2009 root@avatar:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The BUILD_DEPENDS variable is not set correctly in the webkit-gtk2 port. So if the flex port is not installed previously (possibly to build another port) /usr/bin/flex is used and the build fails. I noticed this because I removed the flex port from my system right before attempting to build webkit-gtk2. >How-To-Repeat: cd /usr/ports/www/webkit-gtk2 make depends pkg_delete flex-2.5.35_1 make depends It will say "webkit-gtk2-1.1.15.4 depends on executable: flex - found" >Fix: Apply the patch contained in the attachment. Patch attached with submission follows: diff -durP ../ports/www/webkit-gtk2/Makefile www/webkit-gtk2/Makefile --- ../ports/www/webkit-gtk2/Makefile 2009-11-29 17:03:54.000000000 -0200 +++ www/webkit-gtk2/Makefile 2009-12-21 23:15:31.000000000 -0200 @@ -15,7 +15,7 @@ MAINTAINER= gnome@FreeBSD.org COMMENT= An opensource browser engine -BUILD_DEPENDS= flex:${PORTSDIR}/textproc/flex +BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex LIB_DEPENDS= icutu.38:${PORTSDIR}/devel/icu \ enchant.1:${PORTSDIR}/textproc/enchant \ curl.5:${PORTSDIR}/ftp/curl \ >Release-Note: >Audit-Trail: >Unformatted: