Date: Thu, 8 Oct 1998 07:24:29 -0700 (PDT) From: asami@FreeBSD.ORG (Satoshi Asami) To: cracauer@cons.org Cc: cracauer@cons.org, ports@FreeBSD.ORG Subject: Re: Current ports tools prevent libfoo.so.x.y? Message-ID: <199810081424.HAA14642@silvia.hip.berkeley.edu> In-Reply-To: <19981008161932.A3592@cons.org> (message from Martin Cracauer on Thu, 8 Oct 1998 16:19:32 %2B0200)
next in thread | previous in thread | raw e-mail | index | archive | help
* > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810081424.HAA14642>
