summaryrefslogtreecommitdiff
path: root/audio/xmcd/files/patch-cdda__d_Imakefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xmcd/files/patch-cdda__d_Imakefile')
-rw-r--r--audio/xmcd/files/patch-cdda__d_Imakefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/audio/xmcd/files/patch-cdda__d_Imakefile b/audio/xmcd/files/patch-cdda__d_Imakefile
new file mode 100644
index 000000000000..22be17d5067d
--- /dev/null
+++ b/audio/xmcd/files/patch-cdda__d_Imakefile
@@ -0,0 +1,15 @@
+--- cdda_d/Imakefile.orig 2004-04-21 19:27:03 UTC
++++ cdda_d/Imakefile
+@@ -143,6 +143,12 @@ DEFINES+= -DHAS_ALSA
+ endif
+ #endif
+
++#if defined(FreeBSDArchitecture)
++/* The following is BSD-make specific */
++.if exists(/usr/include/camlib.h)
++DEFINES+= -DFREEBSD_CAM -DHAS_SETEUID
++.endif
++#endif
+
+ /*
+ * POSIX threads stuff