diff options
author | joerg <joerg> | 2007-08-16 00:42:20 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-08-16 00:42:20 +0000 |
commit | 916137648331c7fa16b057fc5ad1583b9398176e (patch) | |
tree | c0eab9c2c104aea765f2710bc29dc95e261df871 | |
parent | 0fe9b01ca5507ed4e0cfef0a9015b39c5319f22e (diff) | |
download | pkgsrc-916137648331c7fa16b057fc5ad1583b9398176e.tar.gz |
Add DESTDIR support and use BUILDLINK_PREFIX instead of PREFIX for
finding Xerces. From Brook Milligan in private mail.
-rw-r--r-- | geography/gdal-lib/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/geography/gdal-lib/Makefile b/geography/gdal-lib/Makefile index 6ff9157513a..0b0a9f2a904 100644 --- a/geography/gdal-lib/Makefile +++ b/geography/gdal-lib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2007/04/17 01:04:44 gdt Exp $ +# $NetBSD: Makefile,v 1.11 2007/08/16 00:42:20 joerg Exp $ # DISTNAME= gdal-1.4.0 @@ -11,6 +11,8 @@ MAINTAINER= brook@nmsu.edu HOMEPAGE= http://www.gdal.org/ COMMENT= Translator library for raster geospatial data formats +PKG_DESTDIR_SUPPORT= user-destdir + MAKE_JOBS_SAFE= no USE_PKGLOCALEDIR= yes @@ -43,13 +45,15 @@ CONFIGURE_ARGS+= --without-mysql .endif CONFIGURE_ARGS+= --with-xerces -CONFIGURE_ARGS+= --with-xerces-inc=${PREFIX:Q}/include -CONFIGURE_ARGS+= --with-xerces-lib=-L${PREFIX:Q}/lib\ -lxerces-c +CONFIGURE_ARGS+= --with-xerces-inc=${BUILDLINK_PREFIX.xerces-c}/include +CONFIGURE_ARGS+= --with-xerces-lib=-L${BUILDLINK_PREFIX.xerces-c}/lib\ -lxerces-c CONFIGURE_ARGS+= --with-geos CONFIGURE_ARGS+= --without-python CHECK_PORTABILITY_SKIP+= mkbindist.sh +INSTALLATION_DIRS= bin include lib man/man1 share/gdal + .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/tiff/buildlink3.mk" .include "../../geography/geos/buildlink3.mk" |