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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=17889
@ -1,5 +1,5 @@
|
|||||||
#! /bin/sh
|
#! /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
|
# 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
|
# Please change src/tools/tools/tcl_bmake/mkMakefile.sh instead
|
||||||
#
|
#
|
||||||
# Generated by src/tools/tools/tcl_bmake/mkMakefile.sh version:
|
# 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
|
' | tr -d '$' >> ${LIBTCL}Makefile
|
||||||
|
|
||||||
@ -71,8 +71,8 @@ echo '
|
|||||||
LIB= tcl
|
LIB= tcl
|
||||||
|
|
||||||
.if !defined(NOPIC)
|
.if !defined(NOPIC)
|
||||||
LINKS+= ${SHLIBDIR}/lib${LIB}.so.${SHLIB_MINOR}.${SHLIB_MINOR} \
|
LINKS+= ${SHLIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
|
||||||
${SHLIBDIR}/lib${LIB}${SHLIB_MINOR}.so.1.0
|
${SHLIBDIR}/lib${LIB}${SHLIB_MAJOR}.so.1.0
|
||||||
.endif
|
.endif
|
||||||
LINKS+= ${LIBDIR}/lib${LIB}.a ${LIBDIR}/lib${LIB}${SHLIB_MAJOR}.a
|
LINKS+= ${LIBDIR}/lib${LIB}.a ${LIBDIR}/lib${LIB}${SHLIB_MAJOR}.a
|
||||||
' >> ${LIBTCL}Makefile
|
' >> ${LIBTCL}Makefile
|
||||||
@ -98,6 +98,9 @@ $s/ \\$//
|
|||||||
' >> ${LIBTCL}Makefile
|
' >> ${LIBTCL}Makefile
|
||||||
|
|
||||||
echo '
|
echo '
|
||||||
|
HEADERS=generic/patchlevel.h generic/tclInt.h generic/tclPort.h \
|
||||||
|
generic/tclRegexp.h unix/tclUnixPort.h
|
||||||
|
|
||||||
beforeinstall:
|
beforeinstall:
|
||||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||||
${TCLDIST}/generic/tcl.h ${DESTDIR}/usr/include
|
${TCLDIST}/generic/tcl.h ${DESTDIR}/usr/include
|
||||||
@ -109,6 +112,11 @@ beforeinstall:
|
|||||||
${TCLDIST}/doc/man.macros ${DESTDIR}/usr/share/tmac/tcl.macros
|
${TCLDIST}/doc/man.macros ${DESTDIR}/usr/share/tmac/tcl.macros
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||||
${.CURDIR}/tclConfig.sh ${DESTDIR}/${TCL_LIBRARY}
|
${.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;"
|
MANFILTER=sed "/\.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;"
|
||||||
' >> ${LIBTCL}Makefile
|
' >> ${LIBTCL}Makefile
|
||||||
|
Loading…
Reference in New Issue
Block a user