From fec8318901fe775360e45dbcf27aa13353765af4 Mon Sep 17 00:00:00 2001 From: Kevin Lo Date: Fri, 24 Nov 2000 13:08:14 +0000 Subject: - Enable kscd. That means it can run on FreeBSD :) - Add BUILD_DEPENDS - Fix pkg-plist --- audio/kdemultimedia3/files/patch-config.h | 27 +++++++++++++++++++++++++++ audio/kdemultimedia3/files/patch-configure | 11 +++++++++++ 2 files changed, 38 insertions(+) create mode 100644 audio/kdemultimedia3/files/patch-config.h create mode 100644 audio/kdemultimedia3/files/patch-configure (limited to 'audio/kdemultimedia3/files') diff --git a/audio/kdemultimedia3/files/patch-config.h b/audio/kdemultimedia3/files/patch-config.h new file mode 100644 index 000000000000..7b42d6c56fb0 --- /dev/null +++ b/audio/kdemultimedia3/files/patch-config.h @@ -0,0 +1,27 @@ +--- kscd/config.h.orig Wed Aug 23 14:16:23 2000 ++++ kscd/config.h Fri Nov 24 20:11:35 2000 +@@ -4,22 +4,8 @@ + config.h.std in the source directory of the kscd distribution + and rename it to config.h .*/ + +-#ifdef __linux__ ++#if defined(__FreeBSD__) + +-#ifndef DEFAULT_CD_DEVICE +- #define DEFAULT_CD_DEVICE "/dev/cdrom" +-#endif +- +-#ifndef LINUX_SCSI_PASSTHROUGH +- #define LINUX_SCSI_PASSTHROUGH +-#endif ++#define DEFAULT_CD_DEVICE "/dev/cdrom" + +-#ifndef MIN_VOLUME +- #define MIN_VOLUME 0 + #endif +- +-#ifndef MAX_VOLUME +- #define MAX_VOLUME 255 +-#endif +- +-#endif /* linux */ diff --git a/audio/kdemultimedia3/files/patch-configure b/audio/kdemultimedia3/files/patch-configure new file mode 100644 index 000000000000..186218d3f575 --- /dev/null +++ b/audio/kdemultimedia3/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Fri Nov 24 09:18:04 2000 ++++ configure Fri Nov 24 09:18:44 2000 +@@ -10913,7 +10913,7 @@ + echo "configure:10914: checking if kscd can be compiled" >&5 + case "$host" in + *-*-linux*) kscd_compile=yes;; +- *-*-*bsd*) kscd_compile=no;; ++ *-*-*bsd*) kscd_compile=yes;; + *) kscd_compile=yes;; + esac + echo "$ac_t""$kscd_compile" 1>&6 -- cgit v1.2.3