summaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorrnordier <rnordier@FreeBSD.org>1999-01-24 11:12:03 +0000
committerrnordier <rnordier@FreeBSD.org>1999-01-24 11:12:03 +0000
commit1e71da6a8fe3e80f8917a6e99bb2b8800d7be63a (patch)
tree8a81960d000d400b3214497e8c3d5fd3b385a7d4 /lang
parenta23282ef8a35432afa8897ff2a5b02f16be9b667 (diff)
downloadFreeBSD-ports-1e71da6a8fe3e80f8917a6e99bb2b8800d7be63a.zip
FreeBSD-ports-1e71da6a8fe3e80f8917a6e99bb2b8800d7be63a.tar.gz
Add option for linking with pthreads library.
Submitted by : Brian Cully <shmit@rcn.com> but with revisions PR : 8389
Diffstat (limited to 'lang')
-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 0f28ee4..5735b6e 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 352908f..06a7e02 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.
#
OpenPOWER on IntegriCloud