Errors with linuxthreads port

Tor Egge Tor.Egge at cvsup.no.freebsd.org
Tue Nov 6 17:55:22 PST 2007


> Hello :) ,
> 
> i'm trying to install linuxthreads as part of a requirement for audio/grip, under 7.0-BETA2. It builds ok and installs ok , but when trying to build the package, it seems there is a file listed in the spec that is not included in the port. see below

You've probably got NO_PROFILE defined in /etc/make.conf, triggering a
bug in the package list.

> 
> now, that's easily to work around - i just wont build a package for it for now. but then, other ports expect linuxthreads to install lthread.3 (audio/gogo in particular)

That depend line hasn't been updated since GCC 4 was imported, and still
assumes that the linuxthreads library was compiled with GCC 3.

> is this an issue with linuxthreads, gogo or maybe something I'm doing wrong?

The audio/gogo port lacks a maintainer.

The linuxthreads port is mostly a bandaid for threading on FreeBSD 4.  The
native thread libraries should be used on newer FreeBSD versions.

Only minor changes are needed to make the audio/gogo port compile with native
threads.

- Tor Egge

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/linuxthreads/Makefile,v
retrieving revision 1.49
diff -u -r1.49 Makefile
--- Makefile	3 Jul 2007 08:38:00 -0000	1.49
+++ Makefile	9 Sep 2007 13:42:15 -0000
@@ -17,7 +17,7 @@
 COMMENT=	POSIX pthreads implementation using rfork to generate kernel threads
 
 .if defined(LINUXTHREADS_WRAP_API)
-USE_PERL5_BUILD=true
+USE_PERL5_BUILD=	yes
 .endif
 
 .include <bsd.port.pre.mk>
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/devel/linuxthreads/pkg-plist,v
retrieving revision 1.13
diff -u -r1.13 pkg-plist
--- pkg-plist	3 Jul 2007 08:38:00 -0000	1.13
+++ pkg-plist	7 Nov 2007 00:34:19 -0000
@@ -5,7 +5,7 @@
 %%PIC:%%lib/liblthread.so.%%LTHREADSHMAJOR:%%
 lib/liblgcc_r.a
 %%GCC4ONLY:%%lib/liblgcc_r_eh.a
-%%GCC4ONLY:%%lib/liblgcc_r_eh_p.a
+%%GCC4ONLY:%%%%PROFILE:%%lib/liblgcc_r_eh_p.a
 %%PROFILE:%%lib/liblgcc_r_p.a
 %%GCC4ONLY:%%lib/liblgcc_s.so
 %%GCC4ONLY:%%lib/liblgcc_s.so.1


More information about the freebsd-ports mailing list