Browse Source

Tobias Hintze:

revert 2007082619163731282
	(Stefan Fiedler: expect: adapt for LFS build)
	[it was not meant to be applied yet]



git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@8707 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Tobias Hintze 17 years ago
parent
commit
192d1244d9
1 changed files with 7 additions and 16 deletions
  1. +7
    -16
      package/public/expect/expect.conf

+ 7
- 16
package/public/expect/expect.conf

@ -1,4 +1,4 @@
#!/bin/bash
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
@ -21,20 +21,11 @@
#
# --- ROCK-COPYRIGHT-NOTE-END ---
if [ "$ROCKCFG_CROSSBUILD" == 0 ] ; then
if [ $stagelevel == 2 ] ; then
custmain=expect_main
expect_main()
{
cp configure{,.bak}
sed 's:/usr/local/bin:/bin:' configure.bak > configure
. $base/package/base/tcl/tcl_config.sh
./configure --prefix=$tools --with-tcl=$tools/lib \
--with-tclinclude=$tools/include --with-x=no
hook_add preconf 1 'tcl_prepare_source tcl'
pkginstalled tk && hook_add preconf 1 'tcl_prepare_source tk'
make
make SCRIPTS="" install
}
fi
fi
# make rebuilds configure (due to touching Makefile.in by fixdoc)
# with autoconf, which breaks it...
hook_add preconf 9 "touch configure"

Loading…
Cancel
Save