pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/snes9x-gtk snes9x-gtk: Fix linking OSS libra...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eeacb10ec4bf
branches:  trunk
changeset: 414431:eeacb10ec4bf
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Mar 27 07:55:40 2020 +0000

description:
snes9x-gtk: Fix linking OSS libraries

diffstat:

 emulators/snes9x-gtk/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r bddc834492e2 -r eeacb10ec4bf emulators/snes9x-gtk/Makefile
--- a/emulators/snes9x-gtk/Makefile     Fri Mar 27 07:53:59 2020 +0000
+++ b/emulators/snes9x-gtk/Makefile     Fri Mar 27 07:55:40 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.73 2020/03/10 22:09:47 wiz Exp $
+# $NetBSD: Makefile,v 1.74 2020/03/27 07:55:40 nia Exp $
 
 PKGREVISION= 5
 .include "../../emulators/snes9x/Makefile.common"
@@ -27,6 +27,10 @@
 SUBST_MESSAGE.oss=     Correct path to OSS device.
 SUBST_FILES.oss+=      gtk/src/gtk_sound_driver_oss.cpp
 SUBST_SED.oss=         -e "s,/dev/dsp,${DEVOSSAUDIO},g"
+LDFLAGS+=              ${LIBOSSAUDIO}
+MESON_ARGS+=           -Doss=true
+.else
+MESON_ARGS+=           -Doss=false
 .endif
 
 LDFLAGS.SunOS+=                -lsocket -lnsl



Home | Main Index | Thread Index | Old Index