I had a few more minutes and here's what I came up with:
sed -i -e 's|${LIB_.*}|/usr/lib|' \
-e '/TCL_BUILD_\|TCL_SRC/d' \
tclConfig.sh
It would be 74 characters if it were all on one line. Seems reasonable.
Of course, this is deleting lines that had to do with the source dir.
I looked at tclConfig.sh.in, but it seemed more complicated. There's
really not much difference in doing one command after the ./configure
step than it would be to do it before the ./configure step.
--
Randy
rmlscsi: [bogomips 1003.22] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686]
12:04:02 up 35 days, 2:52, 1 user, load average: 0.13, 0.03, 0.01
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page