svn commit: r304179 - head/graphics/mapserver
Wen Heping
wen at FreeBSD.org
Thu Sep 13 06:19:27 UTC 2012
Author: wen
Date: Thu Sep 13 06:19:26 2012
New Revision: 304179
URL: http://svn.freebsd.org/changeset/ports/304179
Log:
- Fix build with WMS and WFS option
Modified:
head/graphics/mapserver/Makefile
Modified: head/graphics/mapserver/Makefile
==============================================================================
--- head/graphics/mapserver/Makefile Thu Sep 13 04:47:05 2012 (r304178)
+++ head/graphics/mapserver/Makefile Thu Sep 13 06:19:26 2012 (r304179)
@@ -85,14 +85,16 @@ CONFIGURE_ARGS+= --with-pdf=${LOCALBASE}
.endif
.if ${PORT_OPTIONS:MWMS}
-WITH_CURL= yes
-CONFIGURE_ARGS+= --with-wms --with-wmsclient
+LIB_DEPENDS+= curl:${PORTSDIR}/ftp/curl
+CONFIGURE_ARGS+= --with-curl=${LOCALBASE} --with-wms --with-wmsclient
.endif
.if ${PORT_OPTIONS:MWFS}
-WITH_CURL= yes
-WITH_GDAL= yes
-CONFIGURE_ARGS+= --with-wfs --with-wfsclient
+LIB_DEPENDS+= curl:${PORTSDIR}/ftp/curl \
+ gdal:${PORTSDIR}/graphics/gdal
+CONFIGURE_ARGS+= --with-wfs --with-wfsclient --with-curl=${LOCALBASE} \
+ --with-gdal=${LOCALBASE}/bin/gdal-config \
+ --with-ogr=${LOCALBASE}/bin/gdal-config
.endif
.if ${PORT_OPTIONS:MGDAL}
More information about the svn-ports-head
mailing list