diff options
author | LukenShiro <lukenshiro@ngi.it> | 2013-11-15 15:34:04 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-15 13:45:29 -0600 |
commit | b806c84a7c07ef3e0529511905f8e0ec2831123e (patch) | |
tree | d88f9ec8efb6be0020ee0037f3f80dacea4b24ea /system/fdupes/fdupes-1.51-destdir.patch | |
parent | 6208d04856dff7905e0a1862697d6a2079619775 (diff) | |
download | slackbuilds-b806c84a7c07ef3e0529511905f8e0ec2831123e.tar.gz |
system/fdupes: Updated for version 1.51.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/fdupes/fdupes-1.51-destdir.patch')
-rw-r--r-- | system/fdupes/fdupes-1.51-destdir.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/system/fdupes/fdupes-1.51-destdir.patch b/system/fdupes/fdupes-1.51-destdir.patch new file mode 100644 index 0000000000..e2fd8b2fe1 --- /dev/null +++ b/system/fdupes/fdupes-1.51-destdir.patch @@ -0,0 +1,29 @@ +diff -Naur fdupes-1.51.orig/Makefile fdupes-1.51/Makefile +--- fdupes-1.51.orig/Makefile 2013-04-20 12:51:58.000000000 -0500 ++++ fdupes-1.51/Makefile 2013-07-16 09:22:30.169197997 -0500 +@@ -46,6 +46,8 @@ + # + PROGRAM_NAME=fdupes + ++DESTDIR = ++ + # + # BIN_DIR indicates directory where program is to be installed. + # Suggested value is "$(PREFIX)/bin" +@@ -103,12 +105,12 @@ + $(CC) $(CFLAGS) -o fdupes $(OBJECT_FILES) + + installdirs: +- test -d $(BIN_DIR) || $(MKDIR) $(BIN_DIR) +- test -d $(MAN_DIR) || $(MKDIR) $(MAN_DIR) ++ test -d $(DESTDIR)$(BIN_DIR) || $(MKDIR) $(DESTDIR)$(BIN_DIR) ++ test -d $(DESTDIR)$(MAN_DIR) || $(MKDIR) $(DESTDIR)$(MAN_DIR) + + install: fdupes installdirs +- $(INSTALL_PROGRAM) fdupes $(BIN_DIR)/$(PROGRAM_NAME) +- $(INSTALL_DATA) fdupes.1 $(MAN_DIR)/$(PROGRAM_NAME).$(MAN_EXT) ++ $(INSTALL_PROGRAM) fdupes $(DESTDIR)$(BIN_DIR)/$(PROGRAM_NAME) ++ $(INSTALL_DATA) fdupes.1 $(DESTDIR)$(MAN_DIR)/$(PROGRAM_NAME).$(MAN_EXT) + + clean: + $(RM) $(OBJECT_FILES) |