pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/snes9x-gtk



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Mar 27 07:55:40 UTC 2020

Modified Files:
        pkgsrc/emulators/snes9x-gtk: Makefile

Log Message:
snes9x-gtk: Fix linking OSS libraries


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 pkgsrc/emulators/snes9x-gtk/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/snes9x-gtk/Makefile
diff -u pkgsrc/emulators/snes9x-gtk/Makefile:1.73 pkgsrc/emulators/snes9x-gtk/Makefile:1.74
--- pkgsrc/emulators/snes9x-gtk/Makefile:1.73   Tue Mar 10 22:09:47 2020
+++ pkgsrc/emulators/snes9x-gtk/Makefile        Fri Mar 27 07:55:40 2020
@@ -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



Home | Main Index | Thread Index | Old Index