Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2012 06:19:26 +0000 (UTC)
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304179 - head/graphics/mapserver
Message-ID:  <201209130619.q8D6JQCP033537@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



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