[Bug 226841] sysutils/dupd: update to version 1.6

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 28 20:17:40 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226841

--- Comment #1 from Thomas Hurst <tom at hur.st> ---
Thanks.  Still a few issues unfortunately:

    CFLAGS=-m64 -DDIRENT_HAS_TYPE

-m64 seems unnecessary, is this meant to only work on amd64?  It seemed to work
OK on 32-bit, but I didn't test it much.

    USAGE_ARCH=-O elf64-x86-64 -B i386
    $(OBJCP) -I binary $(USAGE_ARCH) man/dupd $(BUILD)/usage.o

As you see in patch-Makefile, I replaced this with:

    ld -r -b binary -o $(BUILD)/usage.o man/dupd

Which avoided having to hardcode bfdarch.  As per #226997 this might need
switching to ld.bfd.

I'm also wary of the Makefile's GITHASH stuff - at best it does nothing,
possibly spewing a "Command not found", at worst it stuffs some git-mirrored
port checkout hash in there.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list