Browse Source

Stefan Fiedler:


			
			
				rocklinux
			
			
		
Stefan Fiedler 17 years ago
parent
commit
9f9c3e0398
1 changed files with 16 additions and 7 deletions
  1. +16
    -7
      package/public/expect/expect.conf

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

@ -1,4 +1,4 @@
#!/bin/bash
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
# #
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
@ -21,11 +21,20 @@
# #
# --- ROCK-COPYRIGHT-NOTE-END --- # --- ROCK-COPYRIGHT-NOTE-END ---
. $base/package/base/tcl/tcl_config.sh
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
hook_add preconf 1 'tcl_prepare_source tcl'
pkginstalled tk && hook_add preconf 1 'tcl_prepare_source tk'
./configure --prefix=$tools --with-tcl=$tools/lib \
--with-tclinclude=$tools/include --with-x=no
# make rebuilds configure (due to touching Makefile.in by fixdoc)
# with autoconf, which breaks it...
hook_add preconf 9 "touch configure"
make
make SCRIPTS="" install
}
fi
fi

Loading…
Cancel
Save