Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Apr 2005 22:17:22 +0300
From:      Alexander Timoshenko <alexander.timoshenko@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/80307: [PATCH] net/jit: Fixed linking with -lc_r and -pthread issue.
Message-ID:  <E1DPmba-0004bh-BJ@expo.ukrweb.net>
Resent-Message-ID: <200504241920.j3OJKGOi012284@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         80307
>Category:       ports
>Synopsis:       [PATCH] net/jit: Fixed linking with -lc_r and -pthread issue.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 24 19:20:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Timoshenko
>Release:        FreeBSD 5.2.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD expo.ukrweb.net 5.2.1-RELEASE-p10 FreeBSD 5.2.1-RELEASE-p10 #0: Tue Sep 21 13:10:22 EEST 2004 anri@expo.ukrweb.net:/usr/obj/usr/src/sys/EXPO i386

>Description:
	Fixed linking againt -pthread and -lc_r.
		o New file: files/patch-configure
>How-To-Repeat:
>Fix:
--- jit.patch goes here ---
diff -Naur jit.orig/files/patch-configure jit/files/patch-configure
--- jit.orig/files/patch-configure	Thu Jan  1 00:00:00 1970
+++ jit/files/patch-configure	Sun Apr 24 19:01:55 2005
@@ -0,0 +1,11 @@
+--- configure.orig	Sun Apr 24 18:44:49 2005
++++ configure	Sun Apr 24 18:45:05 2005
+@@ -61,7 +61,7 @@
+         LIBS="$LIBS -ldl -lpthread";;	
+     FreeBSD)
+ 	CFLAGS="$CFLAGS -I/usr/local/include -I/usr/src/contrib/libstdc++ -D_THREAD_SAFE -DSUNOS"
+-	LIBS="$LIBS -pthread -lcompat -lc_r -L/usr/local/lib -liconv";;
++	LIBS="$LIBS -pthread -lcompat -L/usr/local/lib -liconv";;
+     OpenBSD)
+ 	CFLAGS="$CFLAGS -I/usr/local/include -I/usr/src/contrib/libstdc++ -D_THREAD_SAFE -DSUNOS"
+ 	LIBS="$LIBS -pthread -lcompat -lc_r -L/usr/local/lib -liconv";;	
--- jit.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1DPmba-0004bh-BJ>