diff options
author | wiz <wiz@pkgsrc.org> | 2006-08-10 00:38:25 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-08-10 00:38:25 +0000 |
commit | e75acc804c83918de1ea4a9c7298df16e60b6029 (patch) | |
tree | 02a2d42edd22d1b4818c861aebcf2a09e64f7eca /geography/gdal-lib | |
parent | 8ed55c0f3783c7ba5045e1b300eee0b7883fa19a (diff) | |
download | pkgsrc-e75acc804c83918de1ea4a9c7298df16e60b6029.tar.gz |
Correct dependency handling; from Brook Milligan in private mail.
Diffstat (limited to 'geography/gdal-lib')
-rw-r--r-- | geography/gdal-lib/buildlink3.mk | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/geography/gdal-lib/buildlink3.mk b/geography/gdal-lib/buildlink3.mk index 8ad72ffa9a3..fb0d4a508d3 100644 --- a/geography/gdal-lib/buildlink3.mk +++ b/geography/gdal-lib/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 23:10:49 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.5 2006/08/10 00:38:25 wiz Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ GDAL_LIB_BUILDLINK3_MK:= ${GDAL_LIB_BUILDLINK3_MK}+ @@ -16,4 +16,20 @@ BUILDLINK_API_DEPENDS.gdal-lib+= gdal-lib>=1.3.1 BUILDLINK_PKGSRCDIR.gdal-lib?= ../../geography/gdal-lib .endif # GDAL_LIB_BUILDLINK3_MK +.if !defined(PKG_BUILD_OPTIONS.gdal-lib) +PKG_BUILD_OPTIONS.gdal-lib!= \ + cd ${BUILDLINK_PKGSRCDIR.gdal-lib} && \ + ${MAKE} show-var ${MAKEFLAGS} VARNAME=PKG_OPTIONS +MAKEFLAGS+= PKG_BUILD_OPTIONS.gdal-lib=${PKG_BUILD_OPTIONS.gdal-lib:Q} +.endif +MAKEVARS+= PKG_BUILD_OPTIONS.gdal-lib + +.if !empty(PKG_BUILD_OPTIONS.gdal-lib:Mpgsql) +.include "../../mk/pgsql.buildlink3.mk" +.endif + +.include "../../devel/zlib/buildlink3.mk" +.include "../../geography/geos/buildlink3.mk" +.include "../../textproc/xerces-c/buildlink3.mk" + BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |