Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Nov 2010 20:55:12 GMT
From:      Toomas Aas <toomas@tarkvarastuudio.ee>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/152147: graphics/mapserver: add MyGIS option
Message-ID:  <201011112055.oABKtCVM030604@www.freebsd.org>
Resent-Message-ID: <201011112100.oABL0Ge9089336@freefall.freebsd.org>

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

>Number:         152147
>Category:       ports
>Synopsis:       graphics/mapserver: add MyGIS option
>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:   Thu Nov 11 21:00:15 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Toomas Aas
>Release:        8.1-RELEASE
>Organization:
>Environment:
FreeBSD builder.tarkvarastuudio.ee 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #2: Mon Nov  1 22:31:58 EET 2010     toomas@builder.tarkvarastuudio.ee:/usr/obj/usr/src/sys/TVS8  amd64
>Description:
Attached patch adds option to turn on MyGIS support in graphics/mapserver
>How-To-Repeat:

>Fix:
cd /usr/ports/graphics/mapserver && patch < Makefile.patch.txt

Patch attached with submission follows:

--- Makefile.orig	2010-11-11 22:13:44.000000000 +0200
+++ Makefile	2010-11-11 22:15:45.000000000 +0200
@@ -31,6 +31,7 @@
 			GDAL "Support for a number of input raster formats" off \
 			GEOS "Use GEOS engine where possible" off \
 			POSTGIS "Support for PostGIS" off \
+			MYGIS "Support for MyGIS" off \
 			PHP "Support for MapScript/PHP" off \
 			PERL "Support for MapScript/PERL" off \
 			PYTHON "Support for MapScript/PYTHON" off \
@@ -95,6 +96,11 @@
 CONFIGURE_ARGS+=	--with-postgis=${LOCALBASE}/bin/pg_config
 .endif
 
+.if defined(WITH_MYGIS)
+USE_MYSQL=		YES
+CONFIGURE_ARGS+=	--with-mygis=${LOCALBASE}/bin/mysql_config
+.endif
+
 .if defined(WITH_PHP)
 BUILD_DEPENDS+=		${LOCALBASE}/bin/php-config:${PORTSDIR}/lang/php5
 RUN_BUILDS=		${BUILD_DEPENDS}


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



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