From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 2 01:20:48 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF5C416A4CE for ; Fri, 2 Apr 2004 01:20:48 -0800 (PST) Received: from dogfood.jrv.org (rrcs-sw-24-73-246-106.biz.rr.com [24.73.246.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3279643D3F for ; Fri, 2 Apr 2004 01:20:48 -0800 (PST) (envelope-from james@jrv.org) Received: from jrv.org (zippy.jrv.org [192.168.3.156]) (authenticated bits=0) by dogfood.jrv.org (8.12.11/8.12.10) with ESMTP id i329KkT0089625 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Apr 2004 03:20:46 -0600 (CST) (envelope-from james@jrv.org) Message-ID: <406D306E.6090509@jrv.org> Date: Fri, 02 Apr 2004 03:20:46 -0600 From: "James R. Van Artsalen" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter_Losher@isc.org References: <20040331074508.M42491@farside.isc.org> <200403310028.02495.peter@wemm.org> In-Reply-To: <200403310028.02495.peter@wemm.org> Content-Type: multipart/mixed; boundary="------------090009030007010109050409" cc: freebsd-amd64@freebsd.org Subject: Re: mod_perl2 and libperl.a and -fPIC... X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2004 09:20:48 -0000 This is a multi-part message in MIME format. --------------090009030007010109050409 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Peter Wemm wrote: >Yeah, the perl5.6.1 port doesn't build a shared object, so it can't be >embedded inside another shared object. > >However, the perl5.8 port does have shared object support enabled. > >Don't ask me why 5.6.1 doesn't do it though. :-) > > Attached is a quick patch to get ports/land/perl5 to build libperl.so, needed by many things. patch -d /usr/ports < pat.perl after every cvsup against ports (cvsup ports will undo the patch). How far back has FreeBSD support shared libs? This patch blind says 4*|5* build libperl.so and everything else builds libperl.a Grrr - I just realized this no longer builds libperl.a. Oh well, maybe someone might find it useful. --------------090009030007010109050409 Content-Type: text/plain; name="pat.perl" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pat.perl" --- lang/perl5/files/patch-af.~1~ Fri Nov 1 08:43:46 2002 +++ lang/perl5/files/patch-af Fri Apr 2 02:28:03 2004 @@ -1,8 +1,6 @@ -$FreeBSD: ports/lang/perl5/files/patch-af,v 1.4 2002/11/01 14:43:46 tobez Exp $ - ---- Configure.orig Mon Mar 19 04:03:33 2001 -+++ Configure Fri Nov 1 14:58:06 2002 -@@ -296,7 +296,7 @@ cppflags='' +--- Configure.orig Sun Mar 18 21:03:33 2001 ++++ Configure Fri Apr 2 02:27:20 2004 +@@ -296,7 +296,7 @@ ldflags='' lkflags='' locincpth='' @@ -11,7 +9,22 @@ cf_email='' cf_by='' cf_time='' -@@ -14940,7 +14940,7 @@ for i in \`$cc -v -c tmp.c 2>&1 $postpro +@@ -6672,6 +6672,14 @@ + ;; + esac + ;; ++ freebsd) ++ case "$osvers" in ++ 4*|5*) dflt=y ++ ;; ++ *) dflt=n ++ ;; ++ esac ++ ;; + *) dflt=n + ;; + esac +@@ -14940,7 +14948,7 @@ do case "\$i" in -D*) echo "\$i" | $sed 's/^-D//';; --------------090009030007010109050409--