ports/sysutils/dupd/files/patch-Makefile
Kurt Jaeger d3289c6b1b New port: sysutils/dupd
dupd is a file duplicate detection CLI utility, supporting iterative
interactive use with a persistent file database.

Despite the name, it doesn't run as a daemon.

See https://elipapa.github.io/blog/fastest-way-to-find-dups.html for
a comparison of such tools.

WWW: http://www.virkki.com/dupd/

PR:		218664
Submitted by:	Thomas Hurst <tom@hur.st>
2017-04-30 04:21:06 +00:00

19 lines
485 B
Text

--- Makefile.orig 2017-02-26 10:05:09 UTC
+++ Makefile
@@ -20,7 +20,6 @@
TOP:=$(shell pwd)
BUILD_OS:=$(shell uname)
VERSION:=$(shell cat version)
-GITHASH:=$(shell git rev-parse HEAD)
OPTGEN:=$(shell which optgen | head -c1)
ifeq ($(LCOV_OUTPUT_DIR),)
@@ -98,7 +97,7 @@ $(BUILD)/%.o: src/%.c src/%.h
-c $< -o $@
$(BUILD)/usage.o: man/dupd
- $(OBJCP) -I binary $(USAGE_ARCH) man/dupd $(BUILD)/usage.o
+ ld -r -b binary -o $(BUILD)/usage.o man/dupd
clean:
rm -f dupd