Bug 62544 - devel/chipcardd missing pthreads (patch included)
Summary: devel/chipcardd missing pthreads (patch included)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-08 16:30 UTC by Frank Altpeter
Modified: 2004-03-06 18:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Altpeter 2004-02-08 16:30:19 UTC
	Port does build but chipcardd fails to start because
	PTHREAD_LIBS not defined but chipcardd needs pthread according
	to pthread of pcsc-lite.

Fix: Patch included:
---------------------- cut here ------------------------------------	


---------------------- cut here --------------------------------------POx0U5OM4rAkIIOjbPUgRiyrgD3GMvKgFYCoT50BhieHflei
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

diff -ruN libchipcard.orig/Makefile libchipcard/Makefile
--- libchipcard.orig/Makefile	Wed Feb  4 13:42:49 2004
+++ libchipcard/Makefile	Sun Feb  8 17:18:50 2004
@@ -22,6 +22,7 @@
 GNU_CONFIGURE=	yes
 INSTALLS_SHLIB=	yes
 CONFIGURE_TARGET=
+CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}"
 CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
 		--with-distri=freebsd
Comment 1 Kirill Ponomarev freebsd_committer freebsd_triage 2004-02-13 14:00:21 UTC
Hi,

On Sun, Feb 08, 2004 at 05:23:52PM +0100, Frank Altpeter wrote:
> 
> >Number:         62544
> >Category:       ports
> >Synopsis:       devel/chipcardd missing pthreads (patch included)
> >Confidential:   no
> >Severity:       serious
> >Priority:       medium
> >Responsible:    freebsd-ports-bugs
> >State:          open


Could you please review this PR ?

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/62544

-Kirill
Comment 2 Kirill Ponomarev freebsd_committer freebsd_triage 2004-02-13 14:00:25 UTC
State Changed
From-To: open->feedback

Asked for maintainer's feedback.
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2004-02-28 20:34:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

This change is no-op .. it does not change anything. 
Resulting chipcardd is not linked against a threading 
library. What now?
Comment 4 Frank Altpeter 2004-03-06 17:22:51 UTC
I'm not sure what you're trying to tell me, but i just added the
line as written in this patch and chipcardd just works...

Sorry, i'm not that coding guru - i've just copied that from the
devel/pcsc-lite Makefile.

With kind regards,

	Frank Altpeter

-- 
FA-RIPE - racoon@IRCNET - 6133423@ICQ
Member of the Open Business Club - http://www.openbc.com/
>> If you can keep your head when all about you are losing
>> theirs, then you just don't understand the problem.
Comment 5 Pav Lucistnik freebsd_committer freebsd_triage 2004-03-06 18:00:14 UTC
State Changed
From-To: feedback->closed

Committed, thanks!