Fix build on Darwin.
This commit is contained in:
parent
44c5c88681
commit
8b8b4901fc
3 changed files with 29 additions and 1 deletions
|
@ -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
|
||||
|
|
13
audio/rioutil/patches/patch-src_Makefile.am
Normal file
13
audio/rioutil/patches/patch-src_Makefile.am
Normal file
|
@ -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
|
13
audio/rioutil/patches/patch-src_Makefile.in
Normal file
13
audio/rioutil/patches/patch-src_Makefile.in
Normal file
|
@ -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
|
Loading…
Reference in a new issue