diff options
author | joerg <joerg@pkgsrc.org> | 2007-08-16 00:42:20 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-08-16 00:42:20 +0000 |
commit | 4f1127ee4e4792da5e6953cfce0275028c1cb90b (patch) | |
tree | c0eab9c2c104aea765f2710bc29dc95e261df871 /geography | |
parent | 7e0a1ae6dfe8bb892da469425547fb75459da88a (diff) | |
download | pkgsrc-4f1127ee4e4792da5e6953cfce0275028c1cb90b.tar.gz |
Add DESTDIR support and use BUILDLINK_PREFIX instead of PREFIX for
finding Xerces. From Brook Milligan in private mail.
Diffstat (limited to 'geography')
-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" |