ports/122618: upgrade need for mapserver port

Krzysztof Stryjek wtp+mapserver at bsdguru.org
Thu Apr 10 09:10:02 UTC 2008


>Number:         122618
>Category:       ports
>Synopsis:       upgrade need for mapserver port
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 10 09:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Krzysztof Stryjek
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
private
>Environment:
System: FreeBSD ----------  6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #2: Thu Dec 21 04:24:09 CET 2006 toor at pc252.lan.wtp3.org:/usr/obj/usr/src/sys/POOH6 i386
>Description:
	mapserver port should be upgraded. This is minor update, but there
new version of mapserver, so port should be changed completely

>How-To-Repeat:
	cd graphics/mapserver && make config [choose php gdal] && make all
>Fix:

--- Makefile.orig	Thu Apr 10 10:05:45 2008
+++ Makefile	Thu Apr 10 10:26:27 2008
@@ -9,7 +9,7 @@
 PORTVERSION=		4.4.1
 PORTREVISION=		4
 CATEGORIES=		graphics www geography
-MASTER_SITES=		http://cvs.gis.umn.edu/dist/
+MASTER_SITES=		http://download.osgeo.org/mapserver/
 
 MAINTAINER=		ports at FreeBSD.org
 COMMENT=		System for developing web-based GIS applications
@@ -68,7 +68,7 @@
 .endif
 
 .if defined(WITH_GDAL)
-LIB_DEPENDS+=		gdal.12:${PORTSDIR}/graphics/gdal
+LIB_DEPENDS+=		gdal.13:${PORTSDIR}/graphics/gdal
 CONFIGURE_ARGS+=	--with-gdal=${LOCALBASE}/bin/gdal-config \
 			--with-ogr=${LOCALBASE}/bin/gdal-config
 .endif
@@ -80,6 +80,12 @@
 
 .if defined(WITH_PHP)
 .BEGIN:
+# 1. it is not good solution as php is build as apache DSO
+# in such cases REGEX_TYPE will be set as php not system
+#
+# 2. I think it should be mark as broken, when lang/php5 is installed. It
+# does not compile correctly. It stops during configure
+#
 # make sure php was built with regex=system
 	@if [ `grep -q 'define REGEX 0' ${LOCALBASE}/include/php/main/php_config.h` ]; then \
 		${ECHO_MSG} "This port currently requires your php to have been built specifying the"; \
@@ -88,6 +94,7 @@
 		${ECHO_MSG} ""; \
 		sleep 2; \
 	fi
+
 BUILD_DEPENDS+=		php-config:${PORTSDIR}/lang/php4
 CONFIGURE_ARGS+=	--with-php=${LOCALBASE}
 PHP_EXTENSION_DIR!=	${LOCALBASE}/bin/php-config --extension-dir | ${SED} -e 's,/usr/local/,,'


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list