Date: Thu, 10 Apr 2008 10:47:39 +0200 (CEST) From: Krzysztof Stryjek <wtp+mapserver@bsdguru.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/122618: upgrade need for mapserver port Message-ID: <20080410084739.833AF907FE@fw.wtp3.org> Resent-Message-ID: <200804100910.m3A9A1ww065140@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080410084739.833AF907FE>