ports/156572: [patch] www/gforge fix RUN_DEPENDS
Olli Hauer
ohauer at FreeBSD.org
Fri Apr 22 12:50:13 UTC 2011
>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 at sorry.mine.nu>
X-send-pr-version: 3.113
X-GNATS-Notify:
More information about the freebsd-ports-bugs
mailing list