mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Make this build in an ELF world.
This commit is contained in:
parent
d9a03dd68a
commit
ecfea64acd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13209
@ -3,7 +3,7 @@
|
||||
# Date created: 19 August 1997
|
||||
# Whom: jkh
|
||||
#
|
||||
# $Id: Makefile,v 1.10 1998/07/27 21:36:06 hoek Exp $
|
||||
# $Id: Makefile,v 1.11 1998/08/07 22:56:46 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= tk8.0p2
|
||||
@ -13,7 +13,7 @@ MASTER_SITES= ftp://ftp.scriptics.com/pub/tcl/tcl8_0/
|
||||
|
||||
MAINTAINER= jkh@Freebsd.ORG
|
||||
|
||||
LIB_DEPENDS= tcl80\\.1\\.2:${PORTSDIR}/lang/tcl80
|
||||
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80
|
||||
|
||||
WRKSRC= ${WRKDIR}/tk8.0/unix
|
||||
GNU_CONFIGURE= yes
|
||||
@ -23,6 +23,7 @@ CONFIGURE_ENV= PORTSDIR=${PORTSDIR}
|
||||
SHLIB_MAJOR= 1
|
||||
SHLIB_MINOR= 2
|
||||
MAKEFILE= makefile
|
||||
TK_LIB= libtk80.so
|
||||
|
||||
post-configure:
|
||||
@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}
|
||||
@ -33,7 +34,8 @@ pre-build:
|
||||
SHLIB_MAJOR=${SHLIB_MAJOR} SHLIB_MINOR=${SHLIB_MINOR}
|
||||
|
||||
post-install:
|
||||
${LDCONFIG} -m ${PREFIX}/lib
|
||||
${LN} -sf ${TK_LIB_FILE} ${PREFIX}/lib/${TK_LIB}
|
||||
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
||||
.if exists(${PKGDIR}/INSTALL.wish)
|
||||
${SH} ${PKGDIR}/INSTALL.wish
|
||||
.endif
|
||||
@ -44,3 +46,9 @@ test:
|
||||
.include <bsd.port.mk>
|
||||
|
||||
PKG_ARGS+= -i ${PKGDIR}/INSTALL.wish
|
||||
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
TK_LIB_FILE= ${TK_LIB}.${SHLIB_MAJOR}
|
||||
.else
|
||||
TK_LIB_FILE= ${TK_LIB}.${SHLIB_MAJOR}.${SHLIB_MINOR}
|
||||
.endif
|
||||
|
@ -243,9 +243,10 @@ lib/tk8.0/images/pwrdLogo75.gif
|
||||
lib/tk8.0/safetk.tcl
|
||||
lib/tk8.0/tkConfig.sh
|
||||
lib/libtk80.a
|
||||
lib/libtk80.so
|
||||
lib/libtk80.so.1.2
|
||||
@exec /sbin/ldconfig -m %B
|
||||
@unexec /sbin/ldconfig -R
|
||||
@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
|
||||
@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
|
||||
@dirrm lib/tk8.0/demos/images
|
||||
@dirrm lib/tk8.0/demos
|
||||
@dirrm lib/tk8.0/images
|
||||
|
Loading…
Reference in New Issue
Block a user