View | Details | Raw Unified | Return to bug 269443 | Differences between
and this patch

Collapse All | Expand All

(-)b/sysutils/jdupes/Makefile (-2 / +13 lines)
Lines 1-6 Link Here
1
PORTNAME=	jdupes
1
PORTNAME=	jdupes
2
DISTVERSIONPREFIX=	v
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	1.21.1
3
DISTVERSION=	1.21.3
4
CATEGORIES=	sysutils
4
CATEGORIES=	sysutils
5
5
6
MAINTAINER=	tom@hur.st
6
MAINTAINER=	tom@hur.st
Lines 26-33 OPTIONS_DEFINE= LOW_MEMORY Link Here
26
LOW_MEMORY_DESC=	Build for lower memory usage instead of speed
26
LOW_MEMORY_DESC=	Build for lower memory usage instead of speed
27
LOW_MEMORY_MAKE_ENV=	LOW_MEMORY=1
27
LOW_MEMORY_MAKE_ENV=	LOW_MEMORY=1
28
28
29
.include <bsd.port.options.mk>
30
31
# ELF Tool Chain's strip breaks binary so use LLVM's for now
32
# To avoid hardcoded stripping use INSTALL_KLD instead of _BIN
33
.if ${PORT_OPTIONS:MLOW_MEMORY}
34
STRIP_CMD= llvm-strip
35
.endif
36
29
do-install:
37
do-install:
30
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
38
	${INSTALL_KLD} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
31
	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
39
	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
32
40
41
post-install:
42
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/jdupes
43
33
.include <bsd.port.mk>
44
.include <bsd.port.mk>
(-)b/sysutils/jdupes/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1674235527
1
TIMESTAMP = 1675962603
2
SHA256 (jbruchon-jdupes-v1.21.1_GH0.tar.gz) = 22de88d1963f70c8ed4d0aa40abe05b48aaa4cc08eed6a2c6c9747010f9f4eb7
2
SHA256 (jbruchon-jdupes-v1.21.3_GH0.tar.gz) = 8992d0ff1fe135c685063ce3c9d69d54f1f19f1b32845e84441f888218063cc0
3
SIZE (jbruchon-jdupes-v1.21.1_GH0.tar.gz) = 97397
3
SIZE (jbruchon-jdupes-v1.21.3_GH0.tar.gz) = 155979
(-)b/sysutils/jdupes/files/patch-Makefile (-4 / +4 lines)
Lines 1-4 Link Here
1
--- Makefile.orig	2022-09-03 18:09:32 UTC
1
--- Makefile.orig	2023-02-09 14:46:39 UTC
2
+++ Makefile
2
+++ Makefile
3
@@ -54,7 +54,7 @@ MKDIR   = mkdir -p
3
@@ -54,7 +54,7 @@ MKDIR   = mkdir -p
4
 CC ?= gcc
4
 CC ?= gcc
Lines 23-34 Link Here
23
 
23
 
24
 # Are we running on a Windows OS?
24
 # Are we running on a Windows OS?
25
 ifeq ($(OS), Windows_NT)
25
 ifeq ($(OS), Windows_NT)
26
@@ -167,7 +167,7 @@ INSTALL_DATA    = $(INSTALL) -m 0644
26
@@ -182,7 +182,7 @@ INSTALL_DATA    = $(INSTALL) -m 0644
27
 OBJS += jdupes.o jody_paths.o jody_sort.o jody_win_unicode.o jody_strtoepoch.o string_malloc.o oom.o
27
 OBJS += jdupes.o jody_paths.o jody_sort.o jody_win_unicode.o jody_strtoepoch.o string_malloc.o oom.o
28
 OBJS += jody_cacheinfo.o
28
 OBJS += jody_cacheinfo.o
29
 OBJS += act_deletefiles.o act_linkfiles.o act_printmatches.o act_summarize.o act_printjson.o
29
 OBJS += act_deletefiles.o act_linkfiles.o act_printmatches.o act_summarize.o act_printjson.o
30
-OBJS += xxhash.o
30
-OBJS += xxhash.o jody_hash.o
31
+# OBJS += xxhash.o
31
+OBJS += jody_hash.o
32
 OBJS += $(ADDITIONAL_OBJECTS)
32
 OBJS += $(ADDITIONAL_OBJECTS)
33
 
33
 
34
 all: $(PROGRAM_NAME)
34
 all: $(PROGRAM_NAME)

Return to bug 269443