diff options
author | rillig <rillig@pkgsrc.org> | 2007-05-30 08:54:28 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-05-30 08:54:28 +0000 |
commit | 7f125459d80717a6f65cde59fcdb87bf381dc2d8 (patch) | |
tree | 9cb9969faf287080cd815dc0b06866755f0b1994 /devel/SDL | |
parent | 2b5e22ff4d29ce619700d81749ac6e868c997059 (diff) | |
download | pkgsrc-7f125459d80717a6f65cde59fcdb87bf381dc2d8.tar.gz |
Removed some code duplication from the buildlink3 files by using the new
pkg-build-options.mk procedure.
Diffstat (limited to 'devel/SDL')
-rw-r--r-- | devel/SDL/buildlink3.mk | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/devel/SDL/buildlink3.mk b/devel/SDL/buildlink3.mk index 9b96dae83f9..97db39584be 100644 --- a/devel/SDL/buildlink3.mk +++ b/devel/SDL/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.27 2007/01/09 15:06:28 joerg Exp $ +# $NetBSD: buildlink3.mk,v 1.28 2007/05/30 08:54:28 rillig Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ SDL_BUILDLINK3_MK:= ${SDL_BUILDLINK3_MK}+ @@ -29,13 +29,8 @@ PTHREAD_OPTS+= require .include "../../converters/libiconv/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" -.if !defined(PKG_BUILD_OPTIONS.SDL) -PKG_BUILD_OPTIONS.SDL!= \ - cd ${BUILDLINK_PKGSRCDIR.SDL} && \ - ${MAKE} show-var ${MAKEFLAGS} VARNAME=PKG_OPTIONS -MAKEFLAGS+= PKG_BUILD_OPTIONS.SDL=${PKG_BUILD_OPTIONS.SDL:Q} -.endif -MAKEVARS+= PKG_BUILD_OPTIONS.SDL +pkgbase := SDL +.include "../../mk/pkg-build-options.mk" .if !empty(PKG_BUILD_OPTIONS.SDL:Maalib) .include "../../graphics/aalib/buildlink3.mk" |