summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-11-26 00:30:28 +0000
committerjoerg <joerg@pkgsrc.org>2009-11-26 00:30:28 +0000
commitce2d0e5f0ec1eba68e60bcd438137be57ca01b82 (patch)
tree86e00c34b57bbf6d82490d0327aa65ef393d93b0 /geography
parentac46b878d0d46521118ec3a1edfe9e134fe07fd1 (diff)
downloadpkgsrc-ce2d0e5f0ec1eba68e60bcd438137be57ca01b82.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