Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Apr 2011 14:42:53 +0200 (CEST)
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        sylvio@FreeBSD.org
Subject:   ports/156572: [patch] www/gforge fix RUN_DEPENDS
Message-ID:  <20110422124300.5AF41106568E@hub.freebsd.org>
Resent-Message-ID: <201104221250.p3MCoCUx053489@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         156572
>Category:       ports
>Synopsis:       [patch] www/gforge fix RUN_DEPENDS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 22 12:50:12 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Olli Hauer
>Release:        FreeBSD 7.4-RELEASE i386
>Organization:
>Environment:

>Description:

During an local exp-run I found the following lines in gforge build log

[...]
pkg_add jpgraph-3.0.7.tbz
[...]
===>  Extracting for jpgraph-3.0.7
=> SHA256 Checksum OK for jpgraph-3.0.7.tar.bz2.
===>  Patching for jpgraph-3.0.7
===>  Configuring for jpgraph-3.0.7
===>  Installing for jpgraph-3.0.7
===>   jpgraph-3.0.7 depends on file: /usr/local/include/php/main/php.h - found
===>   jpgraph-3.0.7 depends on file: /usr/local/lib/php/20090626/gd.so - found
===>   Generating temporary packing list
===>  Checking if graphics/jpgraph2 already installed
===>   jpgraph-3.0.7 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of graphics/jpgraph2
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop in /a/ports/graphics/jpgraph2.
*** Error code 1

Stop in /a/ports/www/gforge.


Inspecting the content off jpgraph/jpgraph2 

$> tar tvf /data/packages/porter/jpgraph-1.27.1.tbz | awk '/imgdata_balls/ {print $9}'
share/jpgraph/imgdata_balls.inc.php

$> tar tvf /data/packages/porter/jpgraph-3.0.7.tbz | awk '/imgdata_balls/ {print $9}'
share/jpgraph/imgdata_balls.inc.php

Additional I run a build against apache22 without errors after changing
USE_APACHE=13 to USE_APACHE=13+ but haven't test functionality.



>How-To-Repeat:

>Fix:


--- gforge.diff begins here ---
Index: gforge/Makefile
===================================================================
RCS file: /home/pcvs/ports/www/gforge/Makefile,v
retrieving revision 1.32
diff -u -r1.32 Makefile
--- gforge/Makefile	4 Dec 2010 07:33:55 -0000	1.32
+++ gforge/Makefile	22 Apr 2011 14:31:26 -0000
@@ -31,9 +31,9 @@
 .include <bsd.port.pre.mk>
 
 .if ${PHP_VER} == 4
-RUN_DEPENDS+=	${LOCALBASE}/share/jpgraph/imgdata_balls.inc:${PORTSDIR}/graphics/jpgraph
+RUN_DEPENDS+=	${LOCALBASE}/share/jpgraph/imgdata_balls.inc.php:${PORTSDIR}/graphics/jpgraph
 .else
-RUN_DEPENDS+=	${LOCALBASE}/share/jpgraph/imgdata_balls.inc:${PORTSDIR}/graphics/jpgraph2
+RUN_DEPENDS+=	${LOCALBASE}/share/jpgraph/imgdata_balls.inc.php:${PORTSDIR}/graphics/jpgraph2
 .endif
 
 .if defined(WITH_JABBER)
--- gforge.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:
 Bcc <ohauer@sorry.mine.nu>
 X-send-pr-version: 3.113
 X-GNATS-Notify: 
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110422124300.5AF41106568E>