summaryrefslogtreecommitdiff
path: root/sysutils/cdrdao/patches/patch-ai
blob: d30eb964e17ada8b4061ab012cefe6cffd3aefd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
$NetBSD: patch-ai,v 1.5 2018/11/15 01:13:02 markd Exp $

--- configure.orig	2018-05-16 10:47:00.000000000 +0000
+++ configure
@@ -7436,7 +7436,7 @@ if test "$scglib" = yes; then
   scsilib_objs="ScsiIf-lib.o"
 
   case "$host" in
-    *-freebsd* | *-kfreebsd*-gnu)
+    *-freebsd* | *-kfreebsd*-gnu | *-dragonfly*)
 			       scsilib_libs="$scsilib_libs -lcam"
 			       ;;
   esac
@@ -7454,7 +7454,7 @@ else
 	       scsilib_objs="ScsiIf-linux.o sg_err.o"
 	       ;;
 
-    *-freebsd* | *-kfreebsd*-gnu)
+    *-freebsd* | *-kfreebsd*-gnu | *-dragonfly*)
 	       scsilib_libs="-lcam"
 	       scsilib_objs="ScsiIf-freebsd-cam.o"
 	       ;;
@@ -7492,7 +7492,7 @@ case "$host" in
 esac
 
 case "$host" in
-  *-freebsd*)
+  *-freebsd* | *-dragonfly*)
 	      if test "$use_pthreads" = yes; then
 		LDFLAGS="-pthread $LDFLAGS"
 		thread_libs=""
@@ -7508,7 +7508,7 @@ $as_echo "#define _P1003_1B_VISIBLE 1" >
 esac
 
 case "$host" in
-  *-linux* | *-freebsd* | *-kfreebsd*-gnu | *-solaris*)
+  *-linux* | *-freebsd* | *-kfreebsd*-gnu | *-solaris* | *-netbsd* | *-dragonfly*)
 	     sound_if_obj=SoundIF-ao.o
 	     ;;