From root@yokota-s.otaru-uc.ac.jp  Mon Jun 30 04:17:00 2008
Return-Path: <root@yokota-s.otaru-uc.ac.jp>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D24DC1065679
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <yokota@res.otaru-uc.ac.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc: sunpoet@sunpoet.net
Subject: [PATCH] graphics/gdal: cyclic dependency and wrong option with WITH_GRASS
X-Send-Pr-Version: 3.113
X-GNATS-Notify: sunpoet@sunpoet.net

>Number:         125111
>Category:       ports
>Synopsis:       [PATCH] graphics/gdal: cyclic dependency and wrong option with WITH_GRASS
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    stefan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 30 04:20:05 UTC 2008
>Closed-Date:    Wed Oct 22 17:14:15 UTC 2008
>Last-Modified:  Wed Oct 22 17:20:00 UTC 2008
>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:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Mon Jun 30 04:20:15 UTC 2008 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125111 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: sunpoet@sunpoet.net
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/125111: [PATCH] graphics/gdal: cyclic dependency and wrong option with WITH_GRASS
Date: Mon, 30 Jun 2008 04:20:13 UT

 Maintainer of graphics/gdal,
 
 Please note that PR ports/125111 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/125111
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Stefan Walter <stefan@freebsd.org>
To: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
Cc: Koji Yokota <yokota@res.otaru-uc.ac.jp>,
	GNATS <FreeBSD-gnats-submit@FreeBSD.org>
Subject: Re: ports/125111: [PATCH] graphics/gdal: cyclic dependency and
	wrong option with WITH_GRASS
Date: Mon, 20 Oct 2008 11:14:54 +0200

 Hi Sunpoet,
 
 have you had a look at Koji's patch for graphics/gdal, which you maintain,
 in ports/125111 [1]? Should the patch be committed?
 
 Regards,
 Stefan
 
 [1]: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/125111
Responsible-Changed-From-To: freebsd-ports-bugs->stefan 
Responsible-Changed-By: stefan 
Responsible-Changed-When: Mon Oct 20 10:25:04 UTC 2008 
Responsible-Changed-Why:  
Track this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125111 
State-Changed-From-To: feedback->closed 
State-Changed-By: stefan 
State-Changed-When: Wed Oct 22 17:13:48 UTC 2008 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125111 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/125111: commit references a PR
Date: Wed, 22 Oct 2008 17:13:47 +0000 (UTC)

 stefan      2008-10-22 17:13:38 UTC
 
   FreeBSD ports repository
 
   Modified files:
     graphics/gdal        Makefile 
   Log:
   - Do not depend on databases/grass, as that results in a cyclic dependency.
   - Fix grass installation location.
   
   PR:             125111
   Submitted by:   Koji Yokota <yokota@res.otaru-uc.ac.jp>
   Approved by:    maintainer timeout (>2 months)
   
   Revision  Changes    Path
   1.27      +3 -3      ports/graphics/gdal/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
