Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Oct 1998 17:03:02 +0200
From:      Martin Cracauer <cracauer@cons.org>
To:        Satoshi Asami <asami@FreeBSD.ORG>, cracauer@cons.org
Cc:        ports@FreeBSD.ORG
Subject:   Re: Current ports tools prevent libfoo.so.x.y?
Message-ID:  <19981008170302.A3704@cons.org>
In-Reply-To: <199810081424.HAA14642@silvia.hip.berkeley.edu>; from Satoshi Asami on Thu, Oct 08, 1998 at 07:24:29AM -0700
References:  <19981008161932.A3592@cons.org> <199810081424.HAA14642@silvia.hip.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
In <199810081424.HAA14642@silvia.hip.berkeley.edu>, Satoshi Asami wrote: 
>  * > I'm not sure it can.  Anyone with an ELF system care to test?
>  * 
>  * I'll do when the linux_lib-2.5 update is down the cvsup road to me.
> 
> Actually, it dies for a.out systems too.  How about the following?
> (You need to add NO_FILTER_SHLIBS=yes in linux_lib/Makefile.)

This works fine for linux_lib on -current and -stable and for
linux_mesa on -current. Please commit it.
 
> Satoshi
> -------
> Index: bsd.port.mk
> ===================================================================
> RCS file: /home/ncvs/src/share/mk/bsd.port.mk,v
> retrieving revision 1.227.2.56
> diff -u -r1.227.2.56 bsd.port.mk
> --- bsd.port.mk	1998/10/06 21:13:04	1.227.2.56
> +++ bsd.port.mk	1998/10/08 14:18:15
> @@ -2027,12 +2027,14 @@
>  .endif
>  .endfor
>  	@${SED} ${_sedsubplist} ${PLIST} >> ${TMPPLIST}
> +.if !defined(NO_FILTER_SHLIBS)
>  .if (${PORTOBJFORMAT} == "aout")
>  	@${SED} -e 's,\(/lib.*\.so\.[0-9]*\)$$,\1.0,' ${TMPPLIST} > ${TMPPLIST}.tmp
>  .else
>  	@${SED} -e 's,\(/lib.*\.so\.[0-9]*\)\.[0-9]*$$,\1,' ${TMPPLIST} > ${TMPPLIST}.tmp
>  .endif
>  	@${MV} -f ${TMPPLIST}.tmp ${TMPPLIST}
> +.endif
>  .endif
>  
>  ${TMPPLIST}:

-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@cons.org> http://www.cons.org/cracauer
  Tel.: (private) +4940 5221829 Fax.: (private) +4940 5228536
  Paper: (private) Waldstrasse 200, 22846 Norderstedt, Germany

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?19981008170302.A3704>