summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-03-27 07:55:40 +0000
committernia <nia@pkgsrc.org>2020-03-27 07:55:40 +0000
commitf2555cb7959956441a3b3adf41265123ede42ca3 (patch)
tree018236bedb5a03420673e0eaf555c37a3c7b0921 /emulators
parent07240502239cf011a472c7206242ef73d5fb5af8 (diff)
downloadpkgsrc-f2555cb7959956441a3b3adf41265123ede42ca3.tar.gz
snes9x-gtk: Fix linking OSS libraries
Diffstat (limited to 'emulators')
-rw-r--r--emulators/snes9x-gtk/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/emulators/snes9x-gtk/Makefile b/emulators/snes9x-gtk/Makefile
index 00098d0e285..852398fdc0b 100644
--- a/emulators/snes9x-gtk/Makefile
+++ b/emulators/snes9x-gtk/Makefile
@@ -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_STAGE.oss= pre-configure
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