--- 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
