diff options
author | marius <marius@FreeBSD.org> | 2007-10-21 21:58:45 +0800 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2007-10-21 21:58:45 +0800 |
commit | 7e13ac164242f82e1fc67542cc691a6d20bd2df9 (patch) | |
tree | 220d2165661f55e35c5480ef06719f7920b1229e /sysutils/cdrdao | |
parent | 4894ce664540c79730d2a36828d6f3e7e43a2741 (diff) | |
download | freebsd-ports-gnome-7e13ac164242f82e1fc67542cc691a6d20bd2df9.tar.gz freebsd-ports-gnome-7e13ac164242f82e1fc67542cc691a6d20bd2df9.tar.zst freebsd-ports-gnome-7e13ac164242f82e1fc67542cc691a6d20bd2df9.zip |
Fix build on FreeBSD 8 and beyond, dropping support for FreeBSD 3 and
earlier.
PR: 117361
Approved by: netchild
Diffstat (limited to 'sysutils/cdrdao')
-rw-r--r-- | sysutils/cdrdao/files/patch-configure | 36 |
1 files changed, 33 insertions, 3 deletions
diff --git a/sysutils/cdrdao/files/patch-configure b/sysutils/cdrdao/files/patch-configure index de3de1630f67..e2c19c4c8ff6 100644 --- a/sysutils/cdrdao/files/patch-configure +++ b/sysutils/cdrdao/files/patch-configure @@ -586,7 +586,37 @@ fi -@@ -10612,146 +10526,200 @@ +@@ -10333,10 +10247,7 @@ + scsilib_objs="ScsiIf-lib.o" + + case "$host" in +- *-freebsd2*) +- scsilib_libs="$scsilib_libs" +- ;; +- *-freebsd[34567]*) ++ *-freebsd*) + scsilib_libs="$scsilib_libs -lcam" + ;; + esac +@@ -10355,7 +10266,7 @@ + scsilib_objs="ScsiIf-linux.o sg_err.o" + ;; + +- *-freebsd[34567]*) ++ *-freebsd*) + scsilib_libs="-lcam" + scsilib_objs="ScsiIf-freebsd-cam.o" + ;; +@@ -10601,7 +10512,7 @@ + esac + + case "$host" in +- *-linux* | *-freebsd[4567]* | *-solaris*) ++ *-linux* | *-freebsd* | *-solaris*) + sound_if_obj=SoundIF-ao.o + ;; + +@@ -10612,146 +10523,200 @@ if test "$with_ogg_support" = yes; then @@ -897,7 +927,7 @@ if test "$with_mp3_support" = no; then echo "$as_me:$LINENO: checking for mad_stream_init in -lmad" >&5 echo $ECHO_N "checking for mad_stream_init in -lmad... $ECHO_C" >&6 -@@ -10971,82 +10939,109 @@ +@@ -10971,82 +10936,109 @@ fi fi @@ -1064,7 +1094,7 @@ fi if test "$with_ogg_support" = yes; then -@@ -11922,7 +11917,6 @@ +@@ -11922,7 +11914,6 @@ s,@LAME_CFLAGS@,$LAME_CFLAGS,;t t s,@LAME_LIBS@,$LAME_LIBS,;t t s,@PKG_CONFIG@,$PKG_CONFIG,;t t |