summaryrefslogtreecommitdiff
path: root/app-text/sloccount/files/sloccount-2.26-libexec.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
commitd87262dd706fec50cd150aab3e93883b6337466d (patch)
tree246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-text/sloccount/files/sloccount-2.26-libexec.patch
parent71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/sloccount/files/sloccount-2.26-libexec.patch')
-rw-r--r--app-text/sloccount/files/sloccount-2.26-libexec.patch81
1 files changed, 0 insertions, 81 deletions
diff --git a/app-text/sloccount/files/sloccount-2.26-libexec.patch b/app-text/sloccount/files/sloccount-2.26-libexec.patch
deleted file mode 100644
index cb8250f68cf6..000000000000
--- a/app-text/sloccount/files/sloccount-2.26-libexec.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-Files sloccount-2.26.orig/.makefile.swp and sloccount-2.26/.makefile.swp differ
-Files sloccount-2.26.orig/.sloccount.swp and sloccount-2.26/.sloccount.swp differ
-diff -ruN sloccount-2.26.orig/makefile sloccount-2.26/makefile
---- sloccount-2.26.orig/makefile 2005-02-20 21:26:00.000000000 +0100
-+++ sloccount-2.26/makefile 2005-02-20 21:32:58.000000000 +0100
-@@ -70,6 +70,7 @@
- ARCH=i386
- VERSIONEDNAME=$(NAME)-$(VERSION)
- INSTALL_DIR=$(PREFIX)/bin
-+LIBEXEC_DIR=$(PREFIX)/libexec/$(NAME)
- MAN_DIR=$(PREFIX)/share/man
- MAN_DIR_MAN1=$(MAN_DIR)/man1
- DOC_DIR=$(PREFIX)/share/doc/$(VERSIONEDNAME)-$(RPM_VERSION)
-@@ -115,11 +116,12 @@
- sed_count \
- sh_count \
- show_filecount \
-- sloccount \
- sql_count \
- tcl_count \
- $(COMPILED_EXECUTABLES)
-
-+MAIN_EXECUTABLE=sloccount
-+
- MANPAGES=sloccount.1.gz
-
- MYDOCS=sloccount.html README TODO ChangeLog
-@@ -162,12 +164,24 @@
- c_lines: C_LINES.C
- $(CC) C_LINES.C -o c_lines$(EXE_SUFFIX)
-
-+install_prefix:
-+ $(INSTALL_A_DIR) $(PREFIX)
-
--install_programs: all
-- $(INSTALL) $(EXECUTABLES) $(INSTALL_DIR)
-+install_program:
-+ $(INSTALL_A_DIR) $(INSTALL_DIR)
-+ $(INSTALL) $(MAIN_EXECUTABLE) $(INSTALL_DIR)
-+
-+uninstall_program:
-+ cd $(INSTALL_DIR) && rm -f $(MAIN_EXECUTABLE)
-+
-+install_libexec: all
-+ $(INSTALL_A_DIR) $(LIBEXEC_DIR)
-+ $(INSTALL) $(EXECUTABLES) $(LIBEXEC_DIR)
-+
-+uninstall_libexec:
-+ cd $(LIBEXEC_DIR) && rm -f $(EXECUTABLES)
-+ rmdir $(LIBEXEC_DIR)
-
--uninstall_programs:
-- cd $(INSTALL_DIR) && rm -f $(EXECUTABLES)
-
- install_man: $(MANPAGES)
- $(INSTALL_A_DIR) $(MAN_DIR_MAN1)
-@@ -184,9 +198,9 @@
- rm -fr $(DOC_DIR)
-
-
--install: install_programs install_man install_docs
-+install: install_prefix install_program install_libexec install_man install_docs
-
--uninstall: uninstall_programs uninstall_docs uninstall_man
-+uninstall: uninstall_program uninstall_libexec uninstall_docs uninstall_man
-
-
- clean:
-diff -ruN sloccount-2.26.orig/sloccount sloccount-2.26/sloccount
---- sloccount-2.26.orig/sloccount 2005-02-20 21:26:00.000000000 +0100
-+++ sloccount-2.26/sloccount 2005-02-20 21:33:25.000000000 +0100
-@@ -39,6 +39,9 @@
-
- startingdir=`pwd`
-
-+libexec_dir=/usr/libexec/sloccount
-+export PATH=$PATH:$libexec_dir
-+
-
- # "datadir" is some suitable safe place for the data; here's the default:
- datadir=${HOME}/.slocdata