ports/125111: [PATCH] graphics/gdal: cyclic dependency and wrong option with WITH_GRASS
Koji Yokota
yokota at res.otaru-uc.ac.jp
Mon Jun 30 04:20:07 UTC 2008
>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 at 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:
More information about the freebsd-ports-bugs
mailing list