1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

Fix -pthread/-lc issue.

PR:		ports/65848
Approved by:	maintainer silence
This commit is contained in:
Volker Stolz 2004-05-09 20:15:41 +00:00
parent e7ed58ff63
commit 8131018eb1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108755
2 changed files with 37 additions and 3 deletions

View File

@ -1,6 +1,22 @@
--- configure.orig Sat Dec 6 01:28:41 2003
+++ configure Sat Dec 6 01:28:43 2003
@@ -6220,6 +6220,7 @@
--- configure.orig Sat Aug 23 09:33:31 2003
+++ configure Wed Apr 21 12:04:17 2004
@@ -2772,7 +2772,6 @@
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lc $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h. */
@@ -2819,7 +2818,6 @@
#define HAVE_LIBC 1
_ACEOF
- LIBS="-lc $LIBS"
fi
@@ -6220,6 +6218,7 @@
case "${host}" in
*solaris*) platform=SOLARIS ;;
*linux*) platform=LINUX ;;

View File

@ -0,0 +1,18 @@
--- converterPI/configure.orig Wed Apr 21 12:04:26 2004
+++ converterPI/configure Wed Apr 21 12:04:34 2004
@@ -1152,7 +1152,6 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lc $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1158 "configure"
#include "confdefs.h"
@@ -1182,7 +1181,6 @@
#define $ac_tr_lib 1
EOF
- LIBS="-lc $LIBS"
else
echo "$ac_t""no" 1>&6