Index: Makefile =================================================================== --- Makefile (revision 476207) +++ Makefile (working copy) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= dupd -PORTVERSION= 1.6 +PORTVERSION= 1.69 CATEGORIES= sysutils MAINTAINER= tom@hur.st @@ -11,9 +11,6 @@ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -NOT_FOR_ARCHS= arm armv6 armv7 i386 mips powerpc -NOT_FOR_ARCHS_REASON= test fails on large files on 32-bit - USES= gmake perl5 ssl sqlite:3 USE_PERL5= test @@ -21,9 +18,15 @@ USE_GITHUB= yes GH_ACCOUNT= jvirkki +GH_TAGNAME= 52147fe66dada0d64118039df7b3a4be3607a9e2 +OPTIONS_DEFINE= OPTIMIZED_CFLAGS +OPTIONS_DEFAULT= OPTIMIZED_CFLAGS +OPTIMIZED_CFLAGS_CFLAGS= -O3 + ALL_TARGET= dupd TEST_TARGET= test +MAKE_ENV+= INCLUDE_DIR=${LOCALBASE}/include LIB_DIR=${LOCALBASE}/lib PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz Index: distinfo =================================================================== --- distinfo (revision 476207) +++ distinfo (working copy) @@ -1,3 +1,3 @@ -TIMESTAMP = 1523215351 -SHA256 (jvirkki-dupd-1.6_GH0.tar.gz) = 68bce4d5ac0b8a00ac50da65634950eb46fb11a571e546fb543fc6c6bf6b79da -SIZE (jvirkki-dupd-1.6_GH0.tar.gz) = 973621 +TIMESTAMP = 1533345397 +SHA256 (jvirkki-dupd-1.69-52147fe66dada0d64118039df7b3a4be3607a9e2_GH0.tar.gz) = 9b490553290be5442dba6050d7a207f572f18c5446c8a632a2318afdd49f6c43 +SIZE (jvirkki-dupd-1.69-52147fe66dada0d64118039df7b3a4be3607a9e2_GH0.tar.gz) = 984094 Index: files/patch-Makefile =================================================================== --- files/patch-Makefile (revision 476207) +++ files/patch-Makefile (nonexistent) @@ -1,39 +0,0 @@ ---- Makefile.orig 2018-03-21 18:56:42 UTC -+++ Makefile -@@ -21,7 +21,7 @@ TOP:=$(shell pwd) - BUILD_OS:=$(shell uname) - BUILD_MACHINE:=$(shell uname -m) - VERSION:=$(shell cat version) --GITHASH:=$(shell git rev-parse HEAD) -+GITHASH:= - OPTGEN:=$(shell which optgen | head -c1) - - ifeq ($(LCOV_OUTPUT_DIR),) -@@ -66,14 +66,12 @@ USAGE=$(BUILD)/usage.o - USAGE_ARCH=-O elf64-x86-64 -B i386 - endif - --ifeq ($(BUILD_OS),FreeBSD) --INC+=-I/usr/local/include --LIB+=-L/usr/local/lib -+INC+=-I${PREFIX}/include -+LIB+=-L${PREFIX}/lib - OBJCP=objcopy --CFLAGS=-m64 -DDIRENT_HAS_TYPE --USAGE=$(BUILD)/usage.o -+CFLAGS+=-DDIRENT_HAS_TYPE -D_FILE_OFFSET_BITS=64 -+USAGE= - USAGE_ARCH=-O elf64-x86-64 -B i386 --endif - - ifeq ($(BUILD_OS),SunOS) - CC=gcc -@@ -92,7 +90,7 @@ endif - ifeq ($(DEBUG),1) - OPT=-g $(DEBUGOPT) - else --OPT=-O3 -+#OPT=-O3 - endif - - Property changes on: files/patch-Makefile ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: files/patch-src_main.c =================================================================== --- files/patch-src_main.c (revision 476207) +++ files/patch-src_main.c (nonexistent) @@ -1,23 +0,0 @@ ---- src/main.c.orig 2018-04-08 20:02:52 UTC -+++ src/main.c -@@ -141,19 +141,8 @@ static void show_help() - */ - static void show_usage() - { -+ system("/usr/bin/man dupd"); - show_banner(); -- --#ifndef __APPLE__ -- char * p = &_binary_man_dupd_start; -- while (p != &_binary_man_dupd_end) { -- putchar(*p++); -- } --#else -- printf("Usage documentation not available on Darwin!\n"); -- printf("\n"); -- printf("Alternatively, refer to the document here:\n"); -- printf("https://github.com/jvirkki/dupd\n"); --#endif - } - - Property changes on: files/patch-src_main.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property