1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/lang/expect/files/patch-aa
Satoshi Asami 05a7b89832 The latest change (adding DEPENDS) made expect build and install
tcl/tk even if they are properly found by LIB_DEPENDS.  Make it
only extract in that case.

While I'm here, make expect and expectk link with shared tcl/tk libs.
expectk used to be a 1/2 MB binary!  (now it's 136KB)

I'd also rather change `-g' to whatever CFLAGS defined in
/etc/make.conf, but the author of expect has an explicit comment in
the Makefile about him not trusting compilers' optimization.  Well,
if you say so.
1996-02-07 09:36:53 +00:00

25 lines
724 B
Plaintext

diff -cdNr expect-5.18.ORG/configure expect-5.18/configure
*** expect-5.18.ORG/configure Tue Nov 21 23:38:23 1995
--- configure Thu Dec 7 23:35:09 1995
***************
*** 704,709 ****
--- 704,711 ----
# It thinks the first close brace ends the variable substitution.
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
+
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
***************
*** 4601,4606 ****
--- 4603,4609 ----
s%@CPP@%$CPP%g
s%@RANLIB@%$RANLIB%g
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
+ s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
s%@INSTALL_DATA@%$INSTALL_DATA%g
s%@subdirs@%$subdirs%g
s%@TCLHDIR@%$TCLHDIR%g