1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/audio/libvorbis/files/patch-configure
FUJISHIMA Satsuki 3dc8097aac o update to 1.0 RC1.
PORTEPOCH bumped due to PKGNAME now strictly follows handbook.
  (1.0b4,1 > 1.0.r1,1 vs. 1.0b4,1 < 1.0.r1,2)
o support NOPORTDOCS.
o remove stale MASTER_SITES.

PR:		29036
Submitted by:	maintainer
2001-07-19 06:29:35 +00:00

53 lines
1.6 KiB
Plaintext

$FreeBSD$
--- configure.orig Mon Jun 18 18:12:43 2001
+++ configure Tue Jul 17 00:26:16 2001
@@ -1621,7 +1621,7 @@ if test -z "$GCC"; then
PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc" ;;
*)
DEBUG="-g"
- CFLAGS="-O"
+ CFLAGS=""
PROFILE="-g -p" ;;
esac
else
@@ -1712,9 +1712,9 @@ rm -f conftest*
CFLAGS="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O4 -ffast-math -fsigned-char"
PROFILE="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -pg -O4 -ffast-math -fsigned-char";;
*)
- DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
- CFLAGS="-O20 -D__NO_MATH_INLINES -fsigned-char"
- PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
+ DEBUG="-g -Wall"
+ CFLAGS=""
+ PROFILE="-g -pg"
esac
fi
CFLAGS="$CFLAGS $cflags_save"
@@ -1800,14 +1800,14 @@ else
LIBS=""
fi
-echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
-echo "configure:1805: checking for pthread_create in -lpthread" >&5
+echo $ac_n "checking for pthread_create in -pthread""... $ac_c" 1>&6
+echo "configure:1805: checking for pthread_create in -pthread" >&5
ac_lib_var=`echo pthread'_'pthread_create | 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="-lpthread $LIBS"
+LIBS="-pthread $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1813 "configure"
#include "confdefs.h"
@@ -1835,7 +1835,7 @@ LIBS="$ac_save_LIBS"
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- pthread_lib="-lpthread"
+ pthread_lib="-pthread"
else
echo "$ac_t""no" 1>&6
: