From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 30 04:20:06 2008 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 D41281065681 for ; Mon, 30 Jun 2008 04:20:06 +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 AD6D98FC1A for ; Mon, 30 Jun 2008 04:20:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5U4K5DI028013 for ; Mon, 30 Jun 2008 04:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5U4K59Q028012; Mon, 30 Jun 2008 04:20:05 GMT (envelope-from gnats) Resent-Date: Mon, 30 Jun 2008 04:20:05 GMT Resent-Message-Id: <200806300420.m5U4K59Q028012@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, Koji Yokota Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D24DC1065679 for ; Mon, 30 Jun 2008 04:17:00 +0000 (UTC) (envelope-from root@yokota-s.otaru-uc.ac.jp) Received: from ca3.otaru-uc.ac.jp (ca3.otaru-uc.ac.jp [150.83.48.29]) by mx1.freebsd.org (Postfix) with ESMTP id 990718FC0A for ; Mon, 30 Jun 2008 04:17:00 +0000 (UTC) (envelope-from root@yokota-s.otaru-uc.ac.jp) Received: from canal1.otaru-uc.ac.jp (canal1 [150.83.48.23]) by ca3.otaru-uc.ac.jp (Postfix) with ESMTP id E09481422C6; Mon, 30 Jun 2008 12:20:23 +0900 (JST) Received: from room520-1.yokota-s.otaru-uc.ac.jp (room520-1.yokota-s.otaru-uc.ac.jp [150.83.100.4]) by canal1.otaru-uc.ac.jp (SMTP) with ESMTP id m5U3KN18022219; Mon, 30 Jun 2008 12:20:23 +0900 (JST) Received: by room520-1.yokota-s.otaru-uc.ac.jp (Postfix, from userid 0) id 5FB77B841; Mon, 30 Jun 2008 12:21:29 +0900 (JST) Message-Id: <20080630032129.5FB77B841@room520-1.yokota-s.otaru-uc.ac.jp> Date: Mon, 30 Jun 2008 12:21:29 +0900 (JST) From: Koji Yokota To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: sunpoet@sunpoet.net Subject: ports/125111: [PATCH] graphics/gdal: cyclic dependency and wrong option with WITH_GRASS 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: Mon, 30 Jun 2008 04:20:07 -0000 >Number: 125111 >Category: ports >Synopsis: [PATCH] graphics/gdal: cyclic dependency and wrong option with WITH_GRASS >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jun 30 04:20:05 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Koji Yokota >Release: FreeBSD 7.0-RELEASE-p1 i386 >Organization: Otaru University of Commerce >Environment: System: FreeBSD hoge.otaru-uc.ac.jp 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #0: Thu May 29 23:57:30 JST 2008 >Description: Since database/grass has gdal as dependency, making gdal depend on grass results in cyclic dependency. Moreover, the specified location grass is installed is wrong. Port maintainer (sunpoet@sunpoet.net) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- gdal-1.5.0.patch begins here --- diff -ruN --exclude=CVS /usr/ports/graphics/gdal.orig/Makefile /usr/ports/graphics/gdal/Makefile --- /usr/ports/graphics/gdal.orig/Makefile 2008-02-24 17:45:42.000000000 +0900 +++ /usr/ports/graphics/gdal/Makefile 2008-06-30 11:59:26.000000000 +0900 @@ -103,9 +103,9 @@ .endif .if defined(WITH_GRASS) -LIB_DEPENDS+= grass_gis:${PORTSDIR}/databases/grass -CONFIGURE_ARGS+= --with-grass=${LOCALBASE} \ - --with-grasslib=${LOCALBASE}/lib +GRASS_INST_DIR= grass +CONFIGURE_ARGS+= --with-grass=${LOCALBASE}/${GRASS_INST_DIR} \ + --with-grasslib=${LOCALBASE}/${GRASS_INST_DIR}/lib .else CONFIGURE_ARGS+= --with-grass=no .endif --- gdal-1.5.0.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: