- Follow PTHREAD_LIBS
Reported by: kris
This commit is contained in:
parent
e99793bc99
commit
7214f1f590
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=181993
2 changed files with 12 additions and 2 deletions
|
@ -22,7 +22,8 @@ CONFIGURE_WRKSRC= ${WRKSRC}/scripts/
|
||||||
|
|
||||||
CFLAGS+= -I${X11BASE}/include
|
CFLAGS+= -I${X11BASE}/include
|
||||||
LDFLAGS+= -L${X11BASE}/lib
|
LDFLAGS+= -L${X11BASE}/lib
|
||||||
CONFIGURE_ENV+= PIC_CFLAGS="-fpic" LDFLAGS="${LDFLAGS}"
|
CONFIGURE_ENV+= PIC_CFLAGS="-fpic" LDFLAGS="${LDFLAGS}" \
|
||||||
|
PTHREAD_LIBS="${PTHREAD_LIBS}"
|
||||||
|
|
||||||
OPTIONS= SCHEME "Enable built-in Scheme interpreter" on \
|
OPTIONS= SCHEME "Enable built-in Scheme interpreter" on \
|
||||||
TCL "Enable built-in Tcl interpreter" off
|
TCL "Enable built-in Tcl interpreter" off
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
--- scripts/configure.orig Tue Oct 24 21:09:50 2006
|
--- scripts/configure.orig Tue Oct 24 21:09:50 2006
|
||||||
+++ scripts/configure Sun Dec 3 02:20:09 2006
|
+++ scripts/configure Wed Jan 10 21:17:08 2007
|
||||||
@@ -8180,8 +8180,9 @@
|
@@ -8180,8 +8180,9 @@
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -11,6 +11,15 @@
|
||||||
TCL_LIB_NAME="tcl${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}"
|
TCL_LIB_NAME="tcl${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}"
|
||||||
TK_LIB_NAME="tk${TK_MAJOR_VERSION}${TK_MINOR_VERSION}"
|
TK_LIB_NAME="tk${TK_MAJOR_VERSION}${TK_MINOR_VERSION}"
|
||||||
;;
|
;;
|
||||||
|
@@ -8421,7 +8422,7 @@
|
||||||
|
#define HAVE_PTHREADS 1
|
||||||
|
_ACEOF
|
||||||
|
|
||||||
|
- gr_libs="$gr_libs -lpthread"
|
||||||
|
+ gr_libs="$gr_libs $PTHREAD_LIBS"
|
||||||
|
gr_srcs="$gr_srcs thread.c"
|
||||||
|
gr_hsrcs=""
|
||||||
|
gr_hprog=""
|
||||||
@@ -10258,9 +10259,8 @@
|
@@ -10258,9 +10259,8 @@
|
||||||
|
|
||||||
*-freebsd*)
|
*-freebsd*)
|
||||||
|
|
Loading…
Reference in a new issue