ports/106932: scim-pinyin: libtool - pthread problem with

[ Available lists | Index of freebsd-ports-bugs | Month of Dec 2006 | Week of 19 Dec 2006 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
philippe sam-long <philippe.sam-long@laposte.net>
Date
19 Dec 2006 20:40:26
Subject
ports/106932: scim-pinyin: libtool - pthread problem with
Message-ID
200612192031.kBJKVjSE042391@www.freebsd.org


[ Hide this part ]
 
>Number: 106932
>Category: ports
>Synopsis: scim-pinyin: libtool - pthread problem with
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Dec 19 20:40:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: philippe sam-long
>Release: 6.1
>Organization:
>Environment:
FreeBSD shubnigurath.crevette.fr 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386
>Description:
Same problem as reported here: http://lists.freebsd.org/pipermail/freebsd-questions/2006-March/114548.html

Compilation of chinese/scim-pinyin fails with the following error message:

libtool: link: cannot find the library `'

>How-To-Repeat:
cd /usr/ports/chinese/scim-pinyin/ && portinstall -rR
>Fix:
Resolution of the problem is the same as explained in http://www.pro-linux.de/news/2005/8579.html

These two patches solve the problem:

*** beginning of patch-ltmain.sh ***
-- ltmain.sh.orig Tue Dec 19 20:51:28 2006
+++ ltmain.sh Tue Dec 19 20:52:20 2006
@@ -2196,6 +2196,7 @@
alldeplibs=yes
continue
;;
+ -pthread) continue;;
esac # case $deplib
if test "$found" = yes || test -f "$lib"; then :
else
*** end of patch-ltmain.sh ***

*** beginning of patch-skim-admin-ltmain.sh ***
--- skim/admin/ltmain.sh.orig Tue Dec 19 21:18:00 2006
+++ skim/admin/ltmain.sh Tue Dec 19 21:18:53 2006
@@ -2007,6 +2007,7 @@
alldeplibs=yes
continue
;;
+ -pthread) continue;;
esac # case $deplib
if test "$found" = yes || test -f "$lib"; then :
else
*** end of patch-skim-admin-ltmain.sh ***
>Release-Note:
>Audit-Trail:
>Unformatted:


Elapsed time: 0.086 seconds