From afd3bd8212dacdd535d773318622e42b0cdc793a Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 9 Mar 2006 20:00:02 +0000 Subject: Always override the path to the OSS DSP device with the one that pkgsrc has already determined. --- devel/SDL/Makefile.common | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/devel/SDL/Makefile.common b/devel/SDL/Makefile.common index e05e90516e2..80dbf6c2437 100644 --- a/devel/SDL/Makefile.common +++ b/devel/SDL/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.26 2006/02/07 18:16:18 wiz Exp $ +# $NetBSD: Makefile.common,v 1.27 2006/03/09 20:00:02 jlam Exp $ DISTNAME= SDL-1.2.9 CATEGORIES= devel games @@ -53,10 +53,9 @@ BUILDLINK_PASSTHRU_DIRS+= ${dir} .endif .include "../../mk/ossaudio.buildlink3.mk" -. if defined(HAVE_OSS) && ${HAVE_OSS} == "YES" + AM_CFLAGS= -D_PATH_DEV_DSP="\"${DEVOSSAUDIO}\"" MAKE_ENV+= AM_CFLAGS=${AM_CFLAGS:Q} -.endif # Irix comes with GL, which works fine for SDL .if ${OPSYS} != "IRIX" -- cgit v1.2.3