diff options
Diffstat (limited to 'audio/cdparanoia/patches/patch-aa')
-rw-r--r-- | audio/cdparanoia/patches/patch-aa | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/audio/cdparanoia/patches/patch-aa b/audio/cdparanoia/patches/patch-aa index 6a47f2edbf5..0779e82a0f4 100644 --- a/audio/cdparanoia/patches/patch-aa +++ b/audio/cdparanoia/patches/patch-aa @@ -1,8 +1,26 @@ -$NetBSD: patch-aa,v 1.3 2001/06/25 12:17:55 simonb Exp $ +$NetBSD: patch-aa,v 1.4 2006/09/03 17:13:30 ben Exp $ ---- configure.in.orig Mon Aug 16 08:29:43 1999 -+++ configure.in Mon Jun 25 21:15:58 2001 -@@ -20,6 +20,12 @@ +--- configure.in.orig 2000-03-25 23:33:22.000000000 -0800 ++++ configure.in +@@ -12,6 +12,17 @@ AC_PROG_RANLIB + AC_CHECK_PROG(AR,ar,ar) + AC_CHECK_PROG(INSTALL,install,install) + ++case $host in ++*-*-darwin*) ++ EXTRA_OBJS=osx_interface.o ++ EXTRA_LIBS=-framework CoreFoundation -framework IOKit ++ ;; ++*) ++ EXTRA_OBJS=cooked_interface.o scsi_interface.o ++ EXTRA_LIBS= ++ ;; ++esac ++ + if test -z "$GCC"; then + DEBUG="-g" + OPT="-O" +@@ -20,6 +31,12 @@ else i?86-*-linux*) DEBUG="-g -Wall -fsigned-char" OPT="-O20 -ffast-math -fsigned-char -finline-functions";; @@ -15,7 +33,7 @@ $NetBSD: patch-aa,v 1.3 2001/06/25 12:17:55 simonb Exp $ *) DEBUG="-g -Wall -fsigned-char" OPT="-O20 -fsigned-char";; -@@ -28,7 +34,10 @@ +@@ -28,7 +45,10 @@ fi AC_HEADER_STDC @@ -27,7 +45,7 @@ $NetBSD: patch-aa,v 1.3 2001/06/25 12:17:55 simonb Exp $ TYPESIZES="" -@@ -62,15 +71,25 @@ +@@ -62,15 +82,27 @@ fi AC_CHECK_HEADERS(linux/sbpcd.h, SBPCD_H="-DSBPCD_H='1' ") AC_CHECK_HEADERS(linux/ucdrom.h, UCDROM_H="-DUCDROM_H='1' ") @@ -51,5 +69,7 @@ $NetBSD: patch-aa,v 1.3 2001/06/25 12:17:55 simonb Exp $ AC_SUBST(DEBUG) AC_SUBST(CC) +AC_SUBST(LIBUTIL) ++AC_SUBST(EXTRA_OBJS) ++AC_SUBST(EXTRA_LIBS) AC_OUTPUT(Makefile interface/Makefile paranoia/Makefile) |