aboutsummaryrefslogtreecommitdiff
path: root/cad/irsim
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2007-01-10 18:21:45 +0000
committerStanislav Sedov <stas@FreeBSD.org>2007-01-10 18:21:45 +0000
commit7214f1f590fe4ca538c41822146ac783a45be752 (patch)
tree91f1aecca30349e1fc6a6a40ef3cdeee6fd15beb /cad/irsim
parente99793bc994c2165ceca09aff74405180eb1fe30 (diff)
downloadports-7214f1f590fe4ca538c41822146ac783a45be752.tar.gz
ports-7214f1f590fe4ca538c41822146ac783a45be752.zip
Notes
Diffstat (limited to 'cad/irsim')
-rw-r--r--cad/irsim/Makefile3
-rw-r--r--cad/irsim/files/patch-scripts_configure11
2 files changed, 12 insertions, 2 deletions
diff --git a/cad/irsim/Makefile b/cad/irsim/Makefile
index e983d1661b93..c759b144c778 100644
--- a/cad/irsim/Makefile
+++ b/cad/irsim/Makefile
@@ -22,7 +22,8 @@ CONFIGURE_WRKSRC= ${WRKSRC}/scripts/
CFLAGS+= -I${X11BASE}/include
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 \
TCL "Enable built-in Tcl interpreter" off
diff --git a/cad/irsim/files/patch-scripts_configure b/cad/irsim/files/patch-scripts_configure
index 658cf0d73b47..e6d86786a1ee 100644
--- a/cad/irsim/files/patch-scripts_configure
+++ b/cad/irsim/files/patch-scripts_configure
@@ -1,5 +1,5 @@
--- 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 @@
fi
@@ -11,6 +11,15 @@
TCL_LIB_NAME="tcl${TCL_MAJOR_VERSION}${TCL_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 @@
*-freebsd*)