1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/audio/xamp/files/patch-ab
Jeremy Lea f27fb649ff Make this compile on -current and respect CFLAGS.
Change maintainer to ports since old maintainer's email is invalid.
2000-01-27 11:07:08 +00:00

43 lines
891 B
Plaintext

--- configure.orig Sun Oct 26 08:55:34 1997
+++ configure Tue Jan 25 01:49:19 2000
@@ -992,9 +992,9 @@
qt_libdir=NO
for i in $qt_libdirs;
do
- for j in libqt.so libqt.a libqt.sl;
+ for j in $i/libqt.so* $i/libqt.a $i/libqt.sl;
do
- if test -r "$i/$j"; then
+ if test -r "$j"; then
qt_libdir=$i
break 2
fi
@@ -1682,10 +1682,6 @@
ARCH_TYPE=`uname -m`
echo "$ac_t""$ARCH_TYPE" 1>&6
-CC=
-CFLAGS=
-LDFLAGS=
-CFLAGS_ARCH=
@@ -1701,7 +1697,6 @@
;;
Linux|FreeBSD)
- CC="gcc"
if test "$ARCH_TYPE" = "i486" ; then
CFLAGS_ARCH="-m486"
fi
@@ -1711,7 +1706,7 @@
if test "$OS_TYPE" = "FreeBSD" ; then
OS_TYPE="BSD"
fi
- CFLAGS="-O6 -ffast-math -fomit-frame-pointer -DNO_BYTE_SWAPPING ${CFLAGS_ARCH}"
+ CFLAGS="${CFLAGS} -ffast-math -fomit-frame-pointer -DNO_BYTE_SWAPPING ${CFLAGS_ARCH}"
;;
SunOS)