mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
Cause libtcl to install 5 include files for compibility with ports.
Also repair a small install bogon causing install of libtcl.so.0.0. Reviewed by: Peter Wemm
This commit is contained in:
parent
c8ae0d2e4b
commit
15d676aa26
@ -1,5 +1,5 @@
|
||||
#! /bin/sh
|
||||
# $Id: mkMakefile.sh,v 1.5 1996/08/29 09:43:50 peter Exp $
|
||||
# $Id: mkMakefile.sh,v 1.6 1996/08/29 10:28:51 peter Exp $
|
||||
#
|
||||
# This script generates a bmake Makefile for src/lib/libtcl
|
||||
#
|
||||
@ -40,7 +40,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.5 1996/08/29 09:43:50 peter Exp $
|
||||
# $Id: mkMakefile.sh,v 1.6 1996/08/29 10:28:51 peter Exp $
|
||||
#
|
||||
' | tr -d '$' >> ${LIBTCL}Makefile
|
||||
|
||||
@ -71,8 +71,8 @@ echo '
|
||||
LIB= tcl
|
||||
|
||||
.if !defined(NOPIC)
|
||||
LINKS+= ${SHLIBDIR}/lib${LIB}.so.${SHLIB_MINOR}.${SHLIB_MINOR} \
|
||||
${SHLIBDIR}/lib${LIB}${SHLIB_MINOR}.so.1.0
|
||||
LINKS+= ${SHLIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
|
||||
${SHLIBDIR}/lib${LIB}${SHLIB_MAJOR}.so.1.0
|
||||
.endif
|
||||
LINKS+= ${LIBDIR}/lib${LIB}.a ${LIBDIR}/lib${LIB}${SHLIB_MAJOR}.a
|
||||
' >> ${LIBTCL}Makefile
|
||||
@ -98,6 +98,9 @@ $s/ \\$//
|
||||
' >> ${LIBTCL}Makefile
|
||||
|
||||
echo '
|
||||
HEADERS=generic/patchlevel.h generic/tclInt.h generic/tclPort.h \
|
||||
generic/tclRegexp.h unix/tclUnixPort.h
|
||||
|
||||
beforeinstall:
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||
${TCLDIST}/generic/tcl.h ${DESTDIR}/usr/include
|
||||
@ -109,6 +112,11 @@ beforeinstall:
|
||||
${TCLDIST}/doc/man.macros ${DESTDIR}/usr/share/tmac/tcl.macros
|
||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||
${.CURDIR}/tclConfig.sh ${DESTDIR}/${TCL_LIBRARY}
|
||||
.for m in ${HEADERS}
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${TCLDIST}/$m \
|
||||
${DESTDIR}/usr/include/tcl/$m
|
||||
.endfor
|
||||
|
||||
|
||||
MANFILTER=sed "/\.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;"
|
||||
' >> ${LIBTCL}Makefile
|
||||
|
Loading…
Reference in New Issue
Block a user