summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmonz <schmonz>2017-07-01 16:18:00 +0000
committerschmonz <schmonz>2017-07-01 16:18:00 +0000
commit424c75df215b1b1c25e7e0c48cd988d7a18f53e7 (patch)
treedbcb9999d1665fc8f5b85bc1ff7f1ba5beb02e0c
parent234b907e916cee042652a5f5fc09be92861d6a31 (diff)
downloadpkgsrc-424c75df215b1b1c25e7e0c48cd988d7a18f53e7.tar.gz
Fix build on Darwin.
-rw-r--r--audio/rioutil/distinfo4
-rw-r--r--audio/rioutil/patches/patch-src_Makefile.am13
-rw-r--r--audio/rioutil/patches/patch-src_Makefile.in13
3 files changed, 29 insertions, 1 deletions
diff --git a/audio/rioutil/distinfo b/audio/rioutil/distinfo
index 79cf6ecc152..87189c9dea0 100644
--- a/audio/rioutil/distinfo
+++ b/audio/rioutil/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2015/11/03 01:12:49 agc Exp $
+$NetBSD: distinfo,v 1.13 2017/07/01 16:18:00 schmonz Exp $
SHA1 (rioutil-1.5.0.tar.gz) = f775bab0ed7ec456dd5d2826083ca8a5075aa4ec
RMD160 (rioutil-1.5.0.tar.gz) = 2f1db9eb36501aecdb388278d5f7c1876bfebf19
@@ -8,3 +8,5 @@ SHA1 (patch-aa) = 4783194bc911fc9c9b1ebd9f03a92180cd7a8f77
SHA1 (patch-ab) = d5a206224a24bf9dfd651c003b621dc5cea90a58
SHA1 (patch-ac) = 2ea2f01308a3d3e92fc0fb1b652c1df50dddef01
SHA1 (patch-ae) = d5428a2e3e5edfe367e5afaecf944830f7187342
+SHA1 (patch-src_Makefile.am) = c11e89ad256ffc621db9e255944815164ad69d38
+SHA1 (patch-src_Makefile.in) = 69f3ea1e56aa26f1db696b7eaa0d6118393f9854
diff --git a/audio/rioutil/patches/patch-src_Makefile.am b/audio/rioutil/patches/patch-src_Makefile.am
new file mode 100644
index 00000000000..37deca2264f
--- /dev/null
+++ b/audio/rioutil/patches/patch-src_Makefile.am
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_Makefile.am,v 1.1 2017/07/01 16:18:00 schmonz Exp $
+
+--- src/Makefile.am.orig 2006-08-07 15:47:28.000000000 +0000
++++ src/Makefile.am
+@@ -5,7 +5,7 @@ INCLUDES = -I$(top_srcdir)/include -I/us
+ rioutil_SOURCES = main.c getopt.c getopt1.c main.h getopt.h
+
+ if MACOSX
+-rioutil_LDADD = -L/usr/local/lib $(top_srcdir)/librioutil/librioutil.la -lIOKit
++rioutil_LDADD = -L/usr/local/lib $(top_srcdir)/librioutil/librioutil.la -framework IOKit
+ PREBIND_FLAGS = -prebind
+ else
+ rioutil_LDADD = -L/usr/local/lib $(top_srcdir)/librioutil/librioutil.la
diff --git a/audio/rioutil/patches/patch-src_Makefile.in b/audio/rioutil/patches/patch-src_Makefile.in
new file mode 100644
index 00000000000..9fd99f09342
--- /dev/null
+++ b/audio/rioutil/patches/patch-src_Makefile.in
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_Makefile.in,v 1.1 2017/07/01 16:18:00 schmonz Exp $
+
+--- src/Makefile.in.orig 2006-08-14 19:38:08.000000000 +0000
++++ src/Makefile.in
+@@ -175,7 +175,7 @@ target_alias = @target_alias@
+ INCLUDES = -I$(top_srcdir)/include -I/usr/local/include
+ rioutil_SOURCES = main.c getopt.c getopt1.c main.h getopt.h
+ @MACOSX_FALSE@rioutil_LDADD = -L/usr/local/lib $(top_srcdir)/librioutil/librioutil.la
+-@MACOSX_TRUE@rioutil_LDADD = -L/usr/local/lib $(top_srcdir)/librioutil/librioutil.la -lIOKit
++@MACOSX_TRUE@rioutil_LDADD = -L/usr/local/lib $(top_srcdir)/librioutil/librioutil.la -framework IOKit
+ @MACOSX_TRUE@PREBIND_FLAGS = -prebind
+ rioutil_LDFLAGS = $(PREBIND_FLAGS)
+ rioutil_DEPENDENCIES = $(top_srcdir)/librioutil/librioutil.la