freebsd-ports/sysutils/cdrdao/files/patch-configure
Alexander Leidinger 21e18d8230 From the submitter:
- Don't default to '-O2' when compiling the cdparanoia-lib but respect CFLAGS,
  this should work around the generation of broken code with GCC and an
  optimazation-level greater than 1.
- Fix a bug in the cdparanoia-lib that can cause problems on some !386.
- Remove the unneeded usage of what seems to be an extension of G++, i.e.
  arguments to the constructor when allocating an array of objects with new,
  fixes compilation with compilers stricter obeying the standards.
- Always symlink ${MACHINE_ARCH}-freebsd-cc.rul to the i386-version on !i386 in   the RULES-directory of scglib to be consistent with sysutils/cdrtools, cdrdao
  also should compile and work on any platform with the fixes above.
- hier(7) the location of the global cdrdao.etc to LOCALBASE/etc/cdrdao.conf.
- Make the gcdmaster gnome-frontend compile with GCC3, use HAVE_GOME-magic to
  build it.
- Clean up some stuff.

NOTE: Gcdmaster has a very obvious bug, if one creates a new audio-CD by
      "New Audio CD project" -> "Edit" -> "Append Track" (select audio-file)
      it will get the length of the track wrong, display a garbage waveform
      and play nothing when hitting the play-button, same for further added
      tracks. This can be worked around by saving the project and re-opening
      it, now appending further tracks also works and the burnt CD is fine.
      This is _not_ a bug of this port but a bug in gcdmaster itself and
      is totally reproducable on Linux, therefore please don't mail the
      maintainer of this port about it expect you have a fix, thanks.

Submitted by:	maintainer
2003-01-02 15:53:38 +00:00

46 lines
1.1 KiB
Text

--- configure.orig Mon Oct 7 03:53:55 2002
+++ configure Sat Oct 12 18:06:18 2002
@@ -5640,7 +5640,7 @@
echo "${ECHO_T}no" >&6
fi
- min_gtkmm_version=1.2.9
+ min_gtkmm_version=1.2.8
echo "$as_me:5645: checking for GTK-- - version >= $min_gtkmm_version" >&5
echo $ECHO_N "checking for GTK-- - version >= $min_gtkmm_version... $ECHO_C" >&6
@@ -6107,7 +6107,7 @@
scsi_if_src=ScsiIf-lib.cc
case "$host" in
- *-freebsd3* | *-freebsd4*)
+ *-freebsd3* | *-freebsd4* | *-freebsd5* )
scsilib_libs="$scsilib_libs -lcam"
;;
esac
@@ -6123,7 +6123,7 @@
scsi_if_src="ScsiIf-linux.cc sg_err.cc"
;;
- *-freebsd3* | *-freebsd4*)
+ *-freebsd3* | *-freebsd4* | *-freebsd5* )
scsi_if_src="ScsiIf-freebsd-cam.cc"
scsilib_libs="-lcam"
;;
@@ -6149,7 +6149,6 @@
case "$host" in
*-freebsd*)
if test "$use_pthreads" = yes; then
- mydefs="-pthread $mydefs"
LDFLAGS="-pthread $LDFLAGS"
thread_libs=""
fi
@@ -6164,7 +6163,7 @@
esac
case "$host" in
- *-linux-*)
+ *-linux-* | *-freebsd* )
sound_if_src=SoundIF-linux.cc
;;