since libtclstub84.a is a pic lib, also create a libtclstub84_pic.a link.

This will help with libtool.
This commit is contained in:
espie 2007-01-31 15:12:08 +00:00
parent f5ac4b3762
commit c58b8de75d
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.17 2006/11/26 13:47:31 matthieu Exp $ # $OpenBSD: Makefile,v 1.18 2007/01/31 15:12:08 espie Exp $
# Uses pthreads (can but does not at the moment) # Uses pthreads (can but does not at the moment)
COMMENT= "Tool Command Language" COMMENT= "Tool Command Language"
@ -6,7 +6,7 @@ COMMENT= "Tool Command Language"
VERSION= 8.4.7 VERSION= 8.4.7
DISTNAME= tcl${VERSION}-src DISTNAME= tcl${VERSION}-src
PKGNAME= tcl-${VERSION}p4 PKGNAME= tcl-${VERSION}p5
SHARED_LIBS= tcl84 1.0 SHARED_LIBS= tcl84 1.0
CATEGORIES= lang lang/tcl CATEGORIES= lang lang/tcl
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcl/} MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcl/}
@ -50,5 +50,6 @@ post-install:
${INSTALL_SCRIPT_DIR} ${PREFIX}/share/aclocal ${INSTALL_SCRIPT_DIR} ${PREFIX}/share/aclocal
${INSTALL_DATA} ${WRKSRC}/tcl.m4 ${PREFIX}/share/aclocal ${INSTALL_DATA} ${WRKSRC}/tcl.m4 ${PREFIX}/share/aclocal
ranlib ${PREFIX}/lib/libtcl84.a ranlib ${PREFIX}/lib/libtcl84.a
ln -s libtclstub84.a ${PREFIX}/lib/libtclstub84_pic.a
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.6 2004/09/18 12:52:55 espie Exp $ @comment $OpenBSD: PLIST,v 1.7 2007/01/31 15:12:08 espie Exp $
@option no-default-conflict @option no-default-conflict
@conflict tcl->=8.4,<8.5 @conflict tcl->=8.4,<8.5
bin/tclsh8.4 bin/tclsh8.4
@ -28,6 +28,7 @@ include/tcl8.4/unix/tclUnixPort.h
include/tcl8.4/unix/tclUnixThrd.h include/tcl8.4/unix/tclUnixThrd.h
lib/libtcl84.a lib/libtcl84.a
lib/libtclstub84.a lib/libtclstub84.a
lib/libtclstub84_pic.a
lib/tcl8.4/ lib/tcl8.4/
lib/tcl8.4/auto.tcl lib/tcl8.4/auto.tcl
lib/tcl8.4/encoding/ lib/tcl8.4/encoding/