aboutsummaryrefslogtreecommitdiffstats
path: root/lang/TenDRA
diff options
context:
space:
mode:
authorrnordier <rnordier@FreeBSD.org>1999-01-24 19:12:03 +0800
committerrnordier <rnordier@FreeBSD.org>1999-01-24 19:12:03 +0800
commit1e71da6a8fe3e80f8917a6e99bb2b8800d7be63a (patch)
tree8a81960d000d400b3214497e8c3d5fd3b385a7d4 /lang/TenDRA
parenta23282ef8a35432afa8897ff2a5b02f16be9b667 (diff)
downloadfreebsd-ports-graphics-1e71da6a8fe3e80f8917a6e99bb2b8800d7be63a.tar.gz
freebsd-ports-graphics-1e71da6a8fe3e80f8917a6e99bb2b8800d7be63a.tar.zst
freebsd-ports-graphics-1e71da6a8fe3e80f8917a6e99bb2b8800d7be63a.zip
Add option for linking with pthreads library.
Submitted by : Brian Cully <shmit@rcn.com> but with revisions PR : 8389
Diffstat (limited to 'lang/TenDRA')
-rw-r--r--lang/TenDRA/pkg-plist1
-rw-r--r--lang/TenDRA/scripts/configure10
2 files changed, 11 insertions, 0 deletions
diff --git a/lang/TenDRA/pkg-plist b/lang/TenDRA/pkg-plist
index 0f28ee46ffe..5735b6e9221 100644
--- a/lang/TenDRA/pkg-plist
+++ b/lang/TenDRA/pkg-plist
@@ -1406,6 +1406,7 @@ lib/TenDRA/machines/freebsd/%OSREL%/80x86/env/K-ieee
lib/TenDRA/machines/freebsd/%OSREL%/80x86/env/K-noframe
lib/TenDRA/machines/freebsd/%OSREL%/80x86/env/K-noieee
lib/TenDRA/machines/freebsd/%OSREL%/80x86/env/K-prom
+lib/TenDRA/machines/freebsd/%OSREL%/80x86/env/pthread
lib/TenDRA/machines/freebsd/%OSREL%/80x86/env/Versions
lib/TenDRA/machines/freebsd/%OSREL%/80x86/env/Xa
lib/TenDRA/machines/freebsd/%OSREL%/80x86/env/Xc
diff --git a/lang/TenDRA/scripts/configure b/lang/TenDRA/scripts/configure
index 352908f304a..06a7e0249fc 100644
--- a/lang/TenDRA/scripts/configure
+++ b/lang/TenDRA/scripts/configure
@@ -23,6 +23,16 @@ fixlib()
}
#
+# Update tcc common environment.
+#
+
+# Create $WRKSRC/src/lib/env/freebsd/common/80x86/pthread
+cat >$WRKSRC/src/lib/env/freebsd/common/80x86/pthread <<EOF
+/* Build with pthreads library */
++SYS_LIBC "-lc_r"
+EOF
+
+#
# Create tcc aout environment.
#