pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: fix build packages on Haiku





--On 2014/05/21 13:56 +0600 diger <admin%freenet59.ru@localhost> wrote:

Using BUILDLINK_TRANSFORM workaround may help to build the package, but
useless in resolving packages dependencies.
In case pthreads was not found on stage_depends pkgsrc will try to build
a package "pth".

With this patch pkgsrc uses system pthread:

__________________________________________________________

diff --git a/mk/pthread.builtin.mk b/mk/pthread.builtin.mk
index 883f910..80ab39f 100644
--- a/mk/pthread.builtin.mk
+++ b/mk/pthread.builtin.mk
@@ -2,7 +2,7 @@

 BUILTIN_PKG:=  pthread

-BUILTIN_FIND_LIBS:=            pthread c_r rt
+BUILTIN_FIND_LIBS:=            pthread c_r rt root
 BUILTIN_FIND_HEADERS_VAR=      H_PTHREAD
 BUILTIN_FIND_HEADERS.H_PTHREAD=        pthread.h

-------------------------------------------------------------------------
--------------
--
Diger
--

Only existence of pthread.h header file is used to detect builtin pthread,
and I cannot reproduce the issue.
On what package?

--
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index