Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jan 1999 23:06:34 +0800 (CST)
From:      Horance Chou <horance@swarm.ie.cycu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9702: ports changes
Message-ID:  <199901261506.XAA59497@swarm.ie.cycu.edu.tw>

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

>Number:         9702
>Category:       ports
>Synopsis:       ports changes
>Confidential:   yes
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 26 07:10:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Horance Chou
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
FreeBSD NETLAB Server
>Environment:

	FreeBSD 4.0-CURRENT

>Description:

	A bug in "ltconfig", which will disable building shared
	libraries in ports/devel/libffi under 4.0-CURRENT

>How-To-Repeat:

	
	cd ${PORTSDIR}/devel/libffi
	make package

>Fix:
	
	
	apply this patch to ports/devel/libffi:
==============================================================

diff -uNr libffi.orig/patches/patch-ad libffi/patches/patch-ad
--- libffi.orig/patches/patch-ad	Thu Jan  1 08:00:00 1970
+++ libffi/patches/patch-ad	Tue Jan 26 22:37:32 1999
@@ -0,0 +1,20 @@
++++ ltconfig	Tue Jan 26 22:33:28 1999
+--- ltconfig.orig	Tue Jan 26 22:33:03 1999
+@@ -730,7 +730,7 @@
+     ;;
+ 
+   # FreeBSD 3, at last, uses gcc -shared to do shared libraries.
+-  freebsd3*)
++  freebsd3* | freebsd4*)
+     archive_cmds='$CC -shared -o $lib$libobjs$deplibs'
+     hardcode_libdir_flag_spec='-R$libdir'
+     hardcode_direct=yes
+@@ -1044,7 +1044,7 @@
+   soname_spec='$libname.so.$major'
+   ;;
+ 
+-freebsd2* | freebsd3*)
++freebsd2* | freebsd3* | freebsd4*)
+   version_type=sunos
+   library_names_spec='$libname.so.$versuffix $libname.so'
+   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
diff -uNr libffi.orig/patches.aout/patch-ad libffi/patches.aout/patch-ad
--- libffi.orig/patches.aout/patch-ad	Thu Jan  1 08:00:00 1970
+++ libffi/patches.aout/patch-ad	Tue Jan 26 22:35:33 1999
@@ -0,0 +1,20 @@
++++ ltconfig	Tue Jan 26 22:33:28 1999
+--- ltconfig.orig	Tue Jan 26 22:33:03 1999
+@@ -730,7 +730,7 @@
+     ;;
+ 
+   # FreeBSD 3, at last, uses gcc -shared to do shared libraries.
+-  freebsd3*)
++  freebsd3* | freebsd4*)
+     archive_cmds='$CC -shared -o $lib$libobjs$deplibs'
+     hardcode_libdir_flag_spec='-R$libdir'
+     hardcode_direct=yes
+@@ -1044,7 +1044,7 @@
+   soname_spec='$libname.so.$major'
+   ;;
+ 
+-freebsd2* | freebsd3*)
++freebsd2* | freebsd3* | freebsd4*)
+   version_type=sunos
+   library_names_spec='$libname.so.$versuffix $libname.so'
+   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
>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?199901261506.XAA59497>