pkgsrc/audio/portaudio/patches/patch-Makefile.in
nia 86ee769ac9 portaudio: Add a Sun/NetBSD audio backend. This works with Audacity.
While here, generally clean up the package...

Bump PKGREVISION
2020-04-17 15:50:03 +00:00

26 lines
979 B
Text

$NetBSD: patch-Makefile.in,v 1.1 2020/04/17 15:50:03 nia Exp $
- Sun/NetBSD audio support.
- Correct path for pkgconfig files.
--- Makefile.in.orig 2016-10-30 01:23:04.000000000 +0000
+++ Makefile.in
@@ -146,6 +146,7 @@ SRC_DIRS = \
src/hostapi/dsound \
src/hostapi/jack \
src/hostapi/oss \
+ src/hostapi/sun \
src/hostapi/wasapi \
src/hostapi/wdmks \
src/hostapi/wmme \
@@ -193,8 +194,8 @@ install: lib/$(PALIB) portaudio-2.0.pc
for include in $(INCLUDES); do \
$(INSTALL_DATA) -m 644 $(top_srcdir)/include/$$include $(DESTDIR)$(includedir)/$$include; \
done
- $(INSTALL) -d $(DESTDIR)$(libdir)/pkgconfig
- $(INSTALL) -m 644 portaudio-2.0.pc $(DESTDIR)$(libdir)/pkgconfig/portaudio-2.0.pc
+ $(INSTALL) -d $(DESTDIR)$(prefix)/lib/pkgconfig
+ $(INSTALL) -m 644 portaudio-2.0.pc $(DESTDIR)$(prefix)/lib/pkgconfig/portaudio-2.0.pc
@echo ""
@echo "------------------------------------------------------------"
@echo "PortAudio was successfully installed."