summaryrefslogtreecommitdiff
path: root/devel/SDL/buildlink3.mk
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2006-06-15 09:45:05 +0000
committeradam <adam@pkgsrc.org>2006-06-15 09:45:05 +0000
commit5375f65723fcf86f2b649fef59c4b0829a5fbb2a (patch)
tree24bb259d481043d61f7ce4abddf94f8e53fdc7e3 /devel/SDL/buildlink3.mk
parent280c999ea8b784dbfd8e53f168b7b00a0f784df2 (diff)
downloadpkgsrc-5375f65723fcf86f2b649fef59c4b0829a5fbb2a.tar.gz
Make aalib an option, enabled by default
Diffstat (limited to 'devel/SDL/buildlink3.mk')
-rw-r--r--devel/SDL/buildlink3.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/devel/SDL/buildlink3.mk b/devel/SDL/buildlink3.mk
index 1340c67d788..4edea24facc 100644
--- a/devel/SDL/buildlink3.mk
+++ b/devel/SDL/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.18 2006/06/13 15:28:02 tron Exp $
+# $NetBSD: buildlink3.mk,v 1.19 2006/06/15 09:45:05 adam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SDL_BUILDLINK3_MK:= ${SDL_BUILDLINK3_MK}+
@@ -24,7 +24,6 @@ PTHREAD_OPTS+= require
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.endif
-.include "../../graphics/aalib/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
@@ -36,8 +35,12 @@ MAKEFLAGS+= PKG_BUILD_OPTIONS.SDL=${PKG_BUILD_OPTIONS.SDL:Q}
.endif
MAKEVARS+= PKG_BUILD_OPTIONS.SDL
+.if !empty(PKG_BUILD_OPTIONS.SDL:Maalib)
+.include "../../graphics/aalib/buildlink3.mk"
+.endif
+
.if !empty(PKG_BUILD_OPTIONS.SDL:Mnas)
-. include "../../audio/nas/buildlink3.mk"
+.include "../../audio/nas/buildlink3.mk"
.endif
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}