mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 07:11:05 +01:00
Move tcl packages to libdata/pkg
This commit is contained in:
parent
e694f4795a
commit
89b2f3fd90
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=27830
@ -1,4 +1,4 @@
|
||||
# $Id: BSD.local.dist,v 1.28 1997/06/10 07:55:10 asami Exp $
|
||||
# $Id: BSD.local.dist,v 1.29 1997/07/25 20:36:54 phk Exp $
|
||||
#
|
||||
|
||||
/set type=dir uname=root gname=wheel mode=0755
|
||||
@ -14,7 +14,9 @@
|
||||
info
|
||||
..
|
||||
lib
|
||||
tclpkg
|
||||
..
|
||||
libdata
|
||||
tcl
|
||||
..
|
||||
..
|
||||
libexec
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $Id: BSD.usr.dist,v 1.92 1997/07/19 15:21:45 jfieber Exp $
|
||||
# $Id: BSD.usr.dist,v 1.93 1997/07/25 20:36:54 phk Exp $
|
||||
#
|
||||
|
||||
/set type=dir uname=bin gname=bin mode=0755
|
||||
@ -16,8 +16,6 @@
|
||||
lib
|
||||
compat
|
||||
..
|
||||
tclpkg
|
||||
..
|
||||
..
|
||||
libdata
|
||||
gcc
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $Id: Makefile,v 1.18 1997/02/22 15:08:06 peter Exp $
|
||||
# $Id: Makefile,v 1.19 1997/07/25 19:51:44 phk Exp $
|
||||
#
|
||||
# This file is generated automatically, do not edit it here!
|
||||
#
|
||||
@ -31,7 +31,7 @@ LINKS+= ${LIBDIR}/lib${LIB}.a ${LIBDIR}/lib${LIB}${SHLIB_MAJOR}.a
|
||||
|
||||
CFLAGS+= -DNO_VALUES_H=1 -DHAVE_UNISTD_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_SHLIB_EXT=\".so\"
|
||||
CFLAGS+= -DTCL_LIBRARY=\"${TCL_LIBRARY}\"
|
||||
CFLAGS+= -DTCL_PACKAGE_PATH=\"/usr/lib/tclpkg\ /usr/local/lib/tclpkg\"
|
||||
CFLAGS+= -DTCL_PACKAGE_PATH=\"/usr/libdata/tcl\ /usr/local/libdata/tcl\"
|
||||
|
||||
LDADD+= -lm
|
||||
DPADD+= ${LIBM}
|
||||
|
@ -110,4 +110,4 @@ TCL_SRC_DIR='/usr/src/contrib/tcl'
|
||||
# List of standard directories in which to look for packages during
|
||||
# "package require" commands. Contains the "prefix" directory plus also
|
||||
# the "exec_prefix" directory, if it is different.
|
||||
TCL_PACKAGE_PATH='/usr/local/lib/tclpkg'
|
||||
TCL_PACKAGE_PATH='/usr/local/libdata/tcl'
|
||||
|
@ -1,5 +1,5 @@
|
||||
#! /bin/sh
|
||||
# $Id: mkMakefile.sh,v 1.20 1997/02/22 14:08:38 peter Exp $
|
||||
# $Id: mkMakefile.sh,v 1.21 1997/07/25 19:50:23 phk Exp $
|
||||
#
|
||||
# This script generates a bmake Makefile for src/lib/libtcl
|
||||
#
|
||||
@ -20,7 +20,7 @@ mkdir -p ${LIBTCL}
|
||||
|
||||
(
|
||||
cd ${SRCDIR}/unix ;
|
||||
sed 's;TCL_PACKAGE_PATH="${prefix}/lib";TCL_PACKAGE_PATH="/usr/local/lib/tclpkg";' configure > __configure
|
||||
sed 's;TCL_PACKAGE_PATH="${prefix}/lib";TCL_PACKAGE_PATH="/usr/local/libdata/tcl";' configure > __configure
|
||||
sh __configure --enable-shared --prefix=/usr
|
||||
rm -f __configure
|
||||
) || true
|
||||
@ -50,7 +50,7 @@ echo '#
|
||||
# Please change src/tools/tools/tcl_bmake/mkMakefile.sh instead
|
||||
#
|
||||
# Generated by src/tools/tools/tcl_bmake/mkMakefile.sh version:
|
||||
# $Id: mkMakefile.sh,v 1.20 1997/02/22 14:08:38 peter Exp $
|
||||
# $Id: mkMakefile.sh,v 1.21 1997/07/25 19:50:23 phk Exp $
|
||||
#
|
||||
' | tr -d '$' >> ${LIBTCL}Makefile
|
||||
|
||||
@ -92,7 +92,7 @@ echo "CFLAGS+=" `make -f m.x bar` >> ${LIBTCL}Makefile
|
||||
|
||||
# some more needed CFLAGS
|
||||
echo "CFLAGS+= -DTCL_LIBRARY=\\\"\${TCL_LIBRARY}\\\"" >> ${LIBTCL}Makefile
|
||||
echo "CFLAGS+= -DTCL_PACKAGE_PATH=\\\"/usr/lib/tclpkg\\ /usr/local/lib/tclpkg\\\"" >> ${LIBTCL}Makefile
|
||||
echo "CFLAGS+= -DTCL_PACKAGE_PATH=\\\"/usr/libdata/tcl\\ /usr/local/libdata/tcl\\\"" >> ${LIBTCL}Makefile
|
||||
|
||||
echo '
|
||||
LDADD+= -lm
|
||||
@ -217,6 +217,7 @@ EOF
|
||||
sed < ${SRCDIR}/unix/tclConfig.sh > ${LIBTCL}/tclConfig.sh \
|
||||
-e '/^TCL.*_LIB_SPEC=/s/-L.* //' \
|
||||
-e "/libtcl/s/\.so\.1\.0/.so.1.${SHLIB_MINOR}/" \
|
||||
-e "/^TCL_SRC_DIR/s/.*/TCL_SRC_DIR='\/usr\/src\/contrib\/tcl'/" \
|
||||
-e "/RANLIB/s/:/ranlib/"
|
||||
|
||||
rm -f m.x ${SRCDIR}/unix/config.log ${SRCDIR}/unix/Makefile ${SRCDIR}/unix/config.cache ${SRCDIR}/unix/config.status ${SRCDIR}/unix/tclConfig.sh
|
||||
|
Loading…
Reference in New Issue
Block a user