Date: Mon, 30 Jun 2008 12:21:29 +0900 (JST) From: Koji Yokota <yokota@res.otaru-uc.ac.jp> To: FreeBSD-gnats-submit@FreeBSD.org Cc: sunpoet@sunpoet.net Subject: ports/125111: [PATCH] graphics/gdal: cyclic dependency and wrong option with WITH_GRASS Message-ID: <20080630032129.5FB77B841@room520-1.yokota-s.otaru-uc.ac.jp> Resent-Message-ID: <200806300420.m5U4K59Q028012@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080630032129.5FB77B841>