summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authorjoerg <joerg>2009-11-26 00:30:28 +0000
committerjoerg <joerg>2009-11-26 00:30:28 +0000
commit276204f22b310b63530693088ed5acbe0058269b (patch)
tree86e00c34b57bbf6d82490d0327aa65ef393d93b0 /geography
parent2871b5cc97cfc2c01e4de708dac618a019bf37e7 (diff)
downloadpkgsrc-276204f22b310b63530693088ed5acbe0058269b.tar.gz
Use --with-libz to not pass -I or -I/include to cc.
Diffstat (limited to 'geography')
-rw-r--r--geography/gdal-lib/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/geography/gdal-lib/Makefile b/geography/gdal-lib/Makefile
index 50030c6d189..0e25271fb77 100644
--- a/geography/gdal-lib/Makefile
+++ b/geography/gdal-lib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2009/08/26 19:57:35 sno Exp $
+# $NetBSD: Makefile,v 1.17 2009/11/26 00:30:28 joerg Exp $
#
DISTNAME= gdal-1.6.1
@@ -44,6 +44,7 @@ CONFIGURE_ARGS+= --with-mysql
CONFIGURE_ARGS+= --without-mysql
.endif
+CONFIGURE_ARGS+= --with-libz=${BUILDLINK_PREFIX.zlib}/include
CONFIGURE_ARGS+= --with-xerces
CONFIGURE_ARGS+= --with-xerces-inc=${BUILDLINK_PREFIX.xerces-c}/include
CONFIGURE_ARGS+= --with-xerces-lib=-L${BUILDLINK_PREFIX.xerces-c}/lib\ -lxerces-c