freebsd-ports/multimedia/xmms/files/patch-ad

56 lines
1.5 KiB
Text
Raw Normal View History

2000-06-20 10:56:04 +02:00
--- configure.orig Mon Jun 19 16:19:25 2000
+++ configure Tue Jun 20 11:35:37 2000
@@ -3290,14 +3290,14 @@
fi
if test "x$PTHREAD_LIBS" = xerror; then
- echo $ac_n "checking for pthread_attr_init in -lc_r""... $ac_c" 1>&6
2000-06-20 10:56:04 +02:00
-echo "configure:3295: checking for pthread_attr_init in -lc_r" >&5
+ echo $ac_n "checking for pthread_attr_init in -pthread""... $ac_c" 1>&6
2000-06-20 10:56:04 +02:00
+echo "configure:3295: checking for pthread_attr_init in -pthread" >&5
ac_lib_var=`echo c_r'_'pthread_attr_init | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lc_r $LIBS"
+LIBS="-pthread $LIBS"
cat > conftest.$ac_ext <<EOF
2000-06-20 10:56:04 +02:00
#line 3303 "configure"
#include "confdefs.h"
2000-06-20 10:56:04 +02:00
@@ -3325,7 +3325,7 @@
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- PTHREAD_LIBS="-lc_r"
+ PTHREAD_LIBS="-pthread"
else
echo "$ac_t""no" 1>&6
fi
2000-06-20 10:56:04 +02:00
@@ -5475,7 +5475,7 @@
cat conftest.$ac_ext >&5
rm -rf conftest*
CATOBJEXT=.mo
- DATADIRNAME=lib
+ DATADIRNAME=share
fi
rm -f conftest*
INSTOBJEXT=.mo
2000-06-20 10:56:04 +02:00
@@ -7113,14 +7113,14 @@
if test -n "$GCC"
then
- CFLAGS="$CFLAGS -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math"
+ CFLAGS="$CFLAGS -fomit-frame-pointer -finline-functions -ffast-math"
fi
arch_type=other
ARCH_DEFINES=""
case "$host" in
i386-*-* | i486-*-* | i586-*-* | i686-*-* | i86pc-*-*)
- CFLAGS="$CFLAGS -m486"
+ CFLAGS="$CFLAGS"
ARCH_DEFINES="-DI386_ASSEM"
arch_type=ix86
;;