From owner-freebsd-ports Thu Oct 8 07:25:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA05919 for freebsd-ports-outgoing; Thu, 8 Oct 1998 07:25:02 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from vader.cs.berkeley.edu (vader.CS.Berkeley.EDU [128.32.38.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA05901 for ; Thu, 8 Oct 1998 07:24:55 -0700 (PDT) (envelope-from asami@vader.cs.berkeley.edu) Received: from silvia.hip.berkeley.edu (sji-ca32-44.ix.netcom.com [209.109.239.44]) by vader.cs.berkeley.edu (8.8.7/8.7.3) with ESMTP id HAA20332; Thu, 8 Oct 1998 07:24:44 -0700 (PDT) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.8.8/8.6.9) id HAA14642; Thu, 8 Oct 1998 07:24:29 -0700 (PDT) Date: Thu, 8 Oct 1998 07:24:29 -0700 (PDT) Message-Id: <199810081424.HAA14642@silvia.hip.berkeley.edu> To: cracauer@cons.org CC: cracauer@cons.org, ports@FreeBSD.ORG In-reply-to: <19981008161932.A3592@cons.org> (message from Martin Cracauer on Thu, 8 Oct 1998 16:19:32 +0200) Subject: Re: Current ports tools prevent libfoo.so.x.y? From: asami@FreeBSD.ORG (Satoshi Asami) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * > 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.) 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}: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message