tk: drop unnecessary cross workarounds.

This commit is contained in:
Juan RP 2015-10-25 10:11:06 +01:00
parent ff80ee06e6
commit 70085764e2

View file

@ -1,7 +1,7 @@
# Template file for 'tk'
pkgname=tk
version=8.6.4
revision=1
revision=2
wrksrc="tk${version}"
build_wrksrc="unix"
build_style=gnu-configure
@ -19,12 +19,6 @@ checksum=08f99df85e5dc9c4271762163c6aabb962c8b297dc5c4c1af8bdd05fc2dd26c1
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() {
make INSTALL_ROOT=${DESTDIR} install install-private-headers
ln -s wish${version%.*} ${DESTDIR}/usr/bin/wish