tk: drop unnecessary cross workarounds.
This commit is contained in:
parent
ff80ee06e6
commit
70085764e2
1 changed files with 1 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'tk'
|
# Template file for 'tk'
|
||||||
pkgname=tk
|
pkgname=tk
|
||||||
version=8.6.4
|
version=8.6.4
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="tk${version}"
|
wrksrc="tk${version}"
|
||||||
build_wrksrc="unix"
|
build_wrksrc="unix"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
@ -19,12 +19,6 @@ checksum=08f99df85e5dc9c4271762163c6aabb962c8b297dc5c4c1af8bdd05fc2dd26c1
|
||||||
|
|
||||||
shlib_provides="libtk${version%.*}.so"
|
shlib_provides="libtk${version%.*}.so"
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
# XXX
|
|
||||||
sed -e "s,-L/usr/lib,-L$XBPS_CROSS_BASE/usr/lib,g" -i Makefile
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make INSTALL_ROOT=${DESTDIR} install install-private-headers
|
make INSTALL_ROOT=${DESTDIR} install install-private-headers
|
||||||
ln -s wish${version%.*} ${DESTDIR}/usr/bin/wish
|
ln -s wish${version%.*} ${DESTDIR}/usr/bin/wish
|
||||||
|
|
Loading…
Reference in a new issue