Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2001 14:08:35 +0100 (MET)
From:      xaa+ports@madison-gurkha.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/25382: libslang: don't link with libc
Message-ID:  <20010226130835.8158CBABE@eeyore.local.dohd.org>

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

>Number:         25382
>Category:       ports
>Synopsis:       don't link libslang with libc, for threaded application
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 26 05:10:10 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Mark Huizer; Eindhoven
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Madison Gurkha BV
>Environment:
System: FreeBSD eeyore.local.dohd.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Jan 30 19:19:31 MET 2001 xaa@eeyore.local.dohd.org:/usr2/sources/src/sys/compile/eeyore i386


>Description:
	Thanks to Jeremy Norris <ishmael27@home.com>, this fix which
	will allow libslang to be used in applications linked with
	libc_r
>How-To-Repeat:
	
>Fix:
Closing ports/24853

diff -udr ../devel/libslang/Makefile libslang/Makefile
--- ../devel/libslang/Makefile	Thu Feb 22 21:35:22 2001
+++ libslang/Makefile	Mon Feb 26 12:45:28 2001
@@ -7,6 +7,7 @@
 
 PORTNAME=	libslang
 PORTVERSION=	1.4.4
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	ftp://space.mit.edu/pub/davis/slang/v1.4/
 DISTNAME=	slang-${PORTVERSION}
diff -udr ../devel/libslang/files/patch-aa libslang/files/patch-aa
--- ../devel/libslang/files/patch-aa	Tue Feb 20 15:33:41 2001
+++ libslang/files/patch-aa	Mon Feb 26 12:47:36 2001
@@ -1,5 +1,5 @@
---- ./configure.orig	Sat Feb  3 22:08:12 2001
-+++ configure	Sun Feb  4 21:07:52 2001
+--- configure.orig	Wed Feb 21 03:17:29 2001
++++ configure	Mon Feb 26 12:46:53 2001
 @@ -1833,8 +1833,8 @@
  #define HAVE_DLFCN_H 1
  EOF
@@ -20,6 +20,15 @@
      cat >> confdefs.h <<\EOF
  #define HAVE_DLOPEN 1
  EOF
+@@ -2023,7 +2023,7 @@
+     ELF_CFLAGS="$CFLAGS -fPIC"
+     ELF_LINK="$CC -shared"
+     ELF_LINK_CMD="\$(ELF_LINK)"
+-    ELF_DEP_LIBS="\$(DL_LIB) -lm -lc"
++    ELF_DEP_LIBS="\$(DL_LIB) -lm"
+     CC_SHARED="$CC $CFLAGS -shared -fPIC"
+ esac
+ 
 @@ -2046,6 +2046,19 @@
        IEEE_CFLAGS="-ieee_with_no_inexact"
      fi
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010226130835.8158CBABE>