Received: by mail.netbsd.org (Postfix, from userid 605) id CD01884D9B; Wed, 22 Mar 2023 05:44:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 0633B84D60 for ; Wed, 22 Mar 2023 05:44:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id K9f2fXZ8mhuv for ; Wed, 22 Mar 2023 05:44:41 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 4564184CE8 for ; Wed, 22 Mar 2023 05:44:41 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 330C1FA90; Wed, 22 Mar 2023 05:44:41 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1679463881228000" MIME-Version: 1.0 Date: Wed, 22 Mar 2023 05:44:41 +0000 From: "Charlotte Koch" Subject: CVS commit: pkgsrc/devel/allegro To: pkgsrc-changes@NetBSD.org Reply-To: charlotte@netbsd.org X-Mailer: log_accum Message-Id: <20230322054441.330C1FA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1679463881228000 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: charlotte Date: Wed Mar 22 05:44:41 UTC 2023 Modified Files: pkgsrc/devel/allegro: Makefile Log Message: devel/allegro: Correct the path to the OSS device To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 pkgsrc/devel/allegro/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1679463881228000 Content-Disposition: inline Content-Length: 1409 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/allegro/Makefile diff -u pkgsrc/devel/allegro/Makefile:1.47 pkgsrc/devel/allegro/Makefile:1.48 --- pkgsrc/devel/allegro/Makefile:1.47 Sun Sep 11 12:51:26 2022 +++ pkgsrc/devel/allegro/Makefile Wed Mar 22 05:44:41 2023 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.47 2022/09/11 12:51:26 wiz Exp $ +# $NetBSD: Makefile,v 1.48 2023/03/22 05:44:41 charlotte Exp $ DISTNAME= allegro-4.4.3.1 -PKGREVISION= 5 +PKGREVISION= 6 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GITHUB:=liballeg/} GITHUB_PROJECT= allegro5 @@ -21,6 +21,16 @@ CMAKE_ARGS+= -DINFODIR=${PKGINFODIR:Q} PLIST_SUBST+= ALLEG_VER=${PKGVERSION_NOREV:R} +.include "../../mk/oss.buildlink3.mk" + +.if ${OSS_TYPE} != "none" +SUBST_CLASSES+= oss +SUBST_STAGE.oss= pre-configure +SUBST_MESSAGE.oss= Correcting the path to the OSS device. +SUBST_FILES.oss+= src/unix/uoss.c +SUBST_SED.oss+= -e "s,/dev/dsp,${DEVOSSAUDIO},g" +.endif + SUBST_CLASSES.NetBSD+= ossmidi SUBST_STAGE.ossmidi= pre-configure SUBST_MESSAGE.ossmidi= NetBSD OSS midi emulation is non-existent. @@ -43,7 +53,6 @@ post-install: .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/glu/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" -.include "../../mk/oss.buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../multimedia/libogg/buildlink3.mk" .include "../../x11/libICE/buildlink3.mk" --_----------=_1679463881228000--