Files
bsdports/lang/expect/files/patch-x-Makefile.in
2019-12-26 07:26:06 +00:00

80 lines
3.3 KiB
Plaintext

--- ./Makefile.in.orig 2004-05-07 21:10:30.000000000 +0300
+++ ./Makefile.in 2015-03-05 12:24:31.000000000 +0200
@@ -108,14 +108,18 @@
# The INSTALL file describes these and others in more detail.
# Some Make's screw up if you delete all of them because SCRIPTS is a
# target. If this is a problem, just comment out the SCRIPTS target itself.
-SCRIPTS = timed-run timed-read ftp-rfc autopasswd lpunlock weather \
- passmass rftp kibitz rlogin-cwd xpstat tkpasswd dislocate xkibitz \
- tknewsbiff unbuffer mkpasswd cryptdir decryptdir autoexpect \
- multixterm
+#SCRIPTS = timed-run timed-read ftp-rfc autopasswd lpunlock weather \
+# passmass rftp kibitz rlogin-cwd xpstat tkpasswd dislocate xkibitz \
+# tknewsbiff unbuffer mkpasswd cryptdir decryptdir autoexpect \
+# multixterm
+SCRIPTS = autoexpect
+
# A couple of the scripts have man pages of their own.
# You can delete these too if you don't want'em.
-SCRIPTS_MANPAGES = kibitz dislocate xkibitz tknewsbiff unbuffer mkpasswd \
- passmass cryptdir decryptdir autoexpect multixterm
+#SCRIPTS_MANPAGES = kibitz dislocate xkibitz tknewsbiff unbuffer mkpasswd \
+# passmass cryptdir decryptdir autoexpect multixterm
+
+SCRIPTS_MANPAGES = autoexpect
# Short directory path where binaries can be found to support #! hack.
# This directory path can be the same as the directory in which the binary
@@ -173,8 +177,8 @@
bindir = $(INSTALL_ROOT)@bindir@
bindir_arch_indep = $(INSTALL_ROOT)$(prefix)/bin
tcl_libdir = $(INSTALL_ROOT)@libdir@
-libdir = $(INSTALL_ROOT)@libdir@/expect$(VERSION)
-libdir_arch_indep = $(INSTALL_ROOT)$(prefix)/lib/expect$(VERSION)
+libdir = $(INSTALL_ROOT)@libdir@/expect/$(VERSION)
+libdir_arch_indep = $(INSTALL_ROOT)$(prefix)/lib/expect/$(VERSION)
mandir = $(INSTALL_ROOT)@mandir@
man1dir = $(mandir)/man1
@@ -192,6 +196,7 @@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_DATA = @INSTALL_DATA@
AR = ar
@@ -208,6 +213,7 @@
"HDEFS=$(HDEFS)" \
"INSTALL=$(INSTALL)" \
"INSTALL_DATA=$(INSTALL_DATA)" \
+ "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
"INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
"LDFLAGS=$(LDFLAGS)" \
"RUNTEST=$(RUNTEST)" \
@@ -361,14 +367,12 @@
install_shared_lib: $(EXP_LIB_FILES)
${srcdir}/mkinstalldirs $(libdir)
if [ -s $(EXP_UNSHARED_LIB_FILE) ] ; then \
- $(INSTALL_DATA) $(EXP_UNSHARED_LIB_FILE) $(libdir)/$(EXP_UNSHARED_LIB_FILE) ; \
- $(UNSHARED_RANLIB) $(libdir)/$(EXP_UNSHARED_LIB_FILE) ; \
$(INSTALL_DATA) $(EXP_UNSHARED_LIB_FILE) $(tcl_libdir)/$(EXP_UNSHARED_LIB_FILE) ; \
$(UNSHARED_RANLIB) $(tcl_libdir)/$(EXP_UNSHARED_LIB_FILE) ; \
else true; fi
if [ -s $(EXP_SHARED_LIB_FILE) ] ; then \
$(INSTALL_PROGRAM) $(EXP_SHARED_LIB_FILE) $(tcl_libdir)/$(EXP_SHARED_LIB_FILE) ; \
- $(INSTALL_PROGRAM) pkgIndex $(libdir)/pkgIndex.tcl ; \
+ $(INSTALL_SCRIPT) pkgIndex $(libdir)/pkgIndex.tcl ; \
else true; fi
expect_installed: exp_main_exp.o $(EXP_LIB_FILE) install_shared_lib
@@ -451,7 +455,7 @@
${srcdir}/mkinstalldirs $(bindir_arch_indep) $(man1dir) $(SCRIPTDIR) $(EXECSCRIPTDIR)
-for i in $(SCRIPT_LIST) ; do \
if [ -f $$i ] ; then \
- $(INSTALL_PROGRAM) $$i $(bindir_arch_indep)/$$i ; \
+ $(INSTALL_SCRIPT) $$i $(bindir_arch_indep)/$$i ; \
rm -f $$i ; \
else true; fi ; \
done