openbsd-ports/databases/sqsh/patches/patch-Makefile_in
jcs 966fdc0e5a Update to sqsh-2.1
Reference new homepage
2001-12-23 23:27:22 +00:00

32 lines
1.1 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.1 2001/12/23 23:27:23 jcs Exp $
--- Makefile.in.orig Sun Dec 23 16:57:51 2001
+++ Makefile.in Sun Dec 23 16:59:00 2001
@@ -17,7 +17,7 @@
INSTALL_DATA = $(INSTALL) -c -m 644
INSTALL_MAN = $(src_dir)/autoconf/install-man
-SQSHRC_GLOBAL = $(prefix)/etc/sqshrc
+SQSHRC_GLOBAL = /etc/sqshrc
MAN_PAGES = sqsh.1
SRCS = $(OBJS:.o=.c)
@@ -51,17 +51,7 @@
install : build-subdirs
@$(INSTALL_DIR) $(bin_dir); \
- $(INSTALL_PROG) src/$(TARGET) $(bin_dir)/$(TARGET); \
- $(INSTALL_DIR) `dirname $(SQSHRC_GLOBAL)`; \
- if test -f $(SQSHRC_GLOBAL); then \
- echo WARNING: You already have the file $(SQSHRC_GLOBAL); \
- echo installed. This file will be left untouched. The version; \
- echo supplied with this installation will be installed as; \
- echo $(SQSHRC_GLOBAL).new; \
- $(INSTALL_DATA) doc/global.sqshrc $(SQSHRC_GLOBAL).new; \
- else \
- $(INSTALL_DATA) doc/global.sqshrc $(SQSHRC_GLOBAL); \
- fi
+ $(INSTALL_PROG) src/$(TARGET) $(bin_dir)/$(TARGET);
install-wrapper : install
@mv $(bin_dir)/$(TARGET) $(bin_dir)/$(TARGET).bin; \