ports/154757: [patch] port graphics/mapserver fix leftover during package building
olli hauer
ohauer at FreeBSD.org
Sun Feb 13 22:50:10 UTC 2011
>Number: 154757
>Category: ports
>Synopsis: [patch] port graphics/mapserver fix leftover during package building
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Feb 13 22:50:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Olli Hauer
>Release:
>Organization:
>Environment:
>Description:
If APACHE_VERSION > 13, then the directory www/cgi-bin is left over.
>How-To-Repeat:
Build the port against apache22
Reference:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/147009
http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/a.8-exp.20110129080700/mapserver-5.6.6.log
>Fix:
--- mapserver.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/graphics/mapserver/Makefile,v
retrieving revision 1.53
diff -u -r1.53 Makefile
--- Makefile 29 Jan 2011 13:09:12 -0000 1.53
+++ Makefile 13 Feb 2011 22:41:05 -0000
@@ -7,7 +7,7 @@
PORTNAME= mapserver
PORTVERSION= 5.6.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics www geography
MASTER_SITES= http://download.osgeo.org/mapserver/
@@ -138,7 +138,11 @@
.if defined(WITH_MAPSERV)
USE_APACHE= 13+
+.include "${PORTSDIR}/Mk/bsd.apache.mk"
PLIST_SUB+= WITH_MAPSERV=""
+.if ${APACHE_VERSION} > 13
+PLIST_DIRSTRY= www/cgi-bin
+.endif
.else
PLIST_SUB+= WITH_MAPSERV="@comment "
.endif
Index: pkg-descr
===================================================================
RCS file: /home/pcvs/ports/graphics/mapserver/pkg-descr,v
retrieving revision 1.1
diff -u -r1.1 pkg-descr
--- pkg-descr 1 Jun 2004 15:01:47 -0000 1.1
+++ pkg-descr 13 Feb 2011 22:41:05 -0000
@@ -7,4 +7,4 @@
applications can be enhanced using Java, JavaScript or many other web
technologies.
-WWW: http://mapserver.gis.umn.edu/
+WWW: http://mapserver.org/
--- mapserver.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list