Subject: pkg/21774: add arts support to SDL
To: None <gnats-bugs@gnats.netbsd.org>
From: None <marc@informatik.uni-bremen.de>
List: netbsd-bugs
Date: 06/04/2003 01:00:47
>Number: 21774
>Category: pkg
>Synopsis: add arts support to SDL
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Jun 03 23:01:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Marc Recht
>Release: NetBSD 1.6T
>Organization:
>Environment:
System: NetBSD leeloo.intern.geht.de 1.6T NetBSD 1.6T (LEELOO) #0: Tue Jun 3 13:40:37 CEST 2003 root@leeloo.intern.geht.de:/usr/obj/sys/arch/i386/compile/LEELOO i386
Architecture: i386
Machine: i386
>Description:
Add a makefile knob (USE_ARTS) to optionally build SDL with arts support.
This is needed in a KDE environment.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/SDL/Makefile,v
retrieving revision 1.47
diff -u -u -b -r1.47 Makefile
--- Makefile 2003/05/02 11:54:18 1.47
+++ Makefile 2003/06/03 22:57:26
@@ -31,7 +31,13 @@
CONFIGURE_ARGS+= --disable-nas
.endif
+.if defined(USE_ARTS) && !empty(USE_ARTS:M[Yy][Ee][Ss])
+CONFIGURE_ARGS+= --enable-arts
+.include "../../audio/arts/buildlink2.mk"
+.else
CONFIGURE_ARGS+= --disable-arts
+.endif
+
CONFIGURE_ARGS+= --enable-video-aalib
CONFIGURE_ENV+= NASMFLAGS="${NASMFLAGS_${OBJECT_FMT}}"
MAKE_ENV+= NASMFLAGS="${NASMFLAGS_${OBJECT_FMT}}"
Index: buildlink2.mk
===================================================================
RCS file: /cvsroot/pkgsrc/devel/SDL/buildlink2.mk,v
retrieving revision 1.6
diff -u -u -b -r1.6 buildlink2.mk
--- buildlink2.mk 2003/05/02 11:54:18 1.6
+++ buildlink2.mk 2003/06/03 22:57:26
@@ -23,6 +23,7 @@
. include "../../audio/nas/buildlink2.mk"
.endif
.include "../../audio/esound/buildlink2.mk"
+.include "../../audio/arts/buildlink2.mk"
.include "../../graphics/MesaLib/buildlink2.mk"
.include "../../graphics/glut/buildlink2.mk"
.include "../../graphics/aalib-x11/buildlink2.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: