Subject: tcl/tk on Linux
To: None <tech-pkg@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: tech-pkg
Date: 02/25/2003 22:00:18
Hi all,
Under Linux, lang/tcl and x11/tk do not install libtcl83.so or
libtk83.so but libtcl8.3.so and libtk8.3.so instead.
In my Makefile (tk) I have:
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Linux"
LIBNAME= ${PKGNAME:C/tk-([0-9]\.[0-9]).*/\1/}
.else
LIBNAME= ${PKGNAME:C/tk-([0-9])\.([0-9]).*/\1\2/}
.endif
PLIST_SUBST+= LIBNAME="${LIBNAME}"
And the obvious changes in the PLIST. Now what do we do with
buildlink2? That, too needs to be changed, but I'm not sure if this is
the desired way to do this.
Anybody have any suggestions?
-Jan
--
"Life," said Marvin, "don't talk to me about life."