diff options
author | rillig <rillig> | 2007-05-30 08:54:28 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-05-30 08:54:28 +0000 |
commit | 17aa8412fd4070a69cde28753e059fcf5f301848 (patch) | |
tree | 9cb9969faf287080cd815dc0b06866755f0b1994 /geography/gdal-lib | |
parent | a5d1a64f72b6d8f3d2cce4e3bab26023c8ba353e (diff) | |
download | pkgsrc-17aa8412fd4070a69cde28753e059fcf5f301848.tar.gz |
Removed some code duplication from the buildlink3 files by using the new
pkg-build-options.mk procedure.
Diffstat (limited to 'geography/gdal-lib')
-rw-r--r-- | geography/gdal-lib/buildlink3.mk | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/geography/gdal-lib/buildlink3.mk b/geography/gdal-lib/buildlink3.mk index 12bd2cfb450..a819afd589e 100644 --- a/geography/gdal-lib/buildlink3.mk +++ b/geography/gdal-lib/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.6 2007/02/23 22:22:38 gdt Exp $ +# $NetBSD: buildlink3.mk,v 1.7 2007/05/30 08:54:29 rillig Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ GDAL_LIB_BUILDLINK3_MK:= ${GDAL_LIB_BUILDLINK3_MK}+ @@ -16,13 +16,8 @@ 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 +pkgbase := gdal-lib +.include "../../mk/pkg-build-options.mk" .if !empty(PKG_BUILD_OPTIONS.gdal-lib:Mpgsql) .include "../../mk/pgsql.buildlink3.mk" |