ports/152147: graphics/mapserver: add MyGIS option
Toomas Aas
toomas at tarkvarastuudio.ee
Thu Nov 11 21:00:16 UTC 2010
>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 at 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:
More information about the freebsd-ports-bugs
mailing list