From 3e9792cd1735b5c4651e23d1bd55942a0e87ff02 Mon Sep 17 00:00:00 2001 From: wen Date: Thu, 13 Sep 2012 06:19:26 +0000 Subject: - Fix build with WMS and WFS option --- graphics/mapserver/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/graphics/mapserver/Makefile b/graphics/mapserver/Makefile index 9f34312bc98d..962cce665759 100644 --- a/graphics/mapserver/Makefile +++ b/graphics/mapserver/Makefile @@ -85,14 +85,16 @@ CONFIGURE_ARGS+= --with-pdf=${LOCALBASE} --with-tiff=${LOCALBASE} --with-png=${L .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} -- cgit