[Bug 265651] [NEW PORT] archivers/zpaqfranz: versioned/snapshot archive

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 09 Aug 2022 12:19:12 UTC

--- Comment #7 from Franco Corbelli <franco@francocorbelli.com> ---
1) on the symlink
I do not know how to make via the Port's Make (do-install)

2) I do NOT want to use (in FreeBSD port manager) the "first" Makefile at all

3) -march=native therefore should not be called, and in fact does not seems to
be (during the port make install)

===>  Patching for zpaqfranz-55.8
===>  Configuring for zpaqfranz-55.8
===>  Building for zpaqfranz-55.8
c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -Dunix
/tmp/zpaqfranz/work/zpaqfranz-55.8/zpaqfranz.cpp -o
/tmp/zpaqfranz/work/zpaqfranz -static -pthread -lstdc++ -lm

4) the -DNOJIT
I am thinking on something quick-and-dirty, just like that


.include <bsd.port.options.mk>

.if (${ARCH} == "amd64")
ZPAQFLAGS=      -Dunix

.if ((!empty(MACHINE_CPU:Msse2)) && (${ARCH} == "i386"))
ZPAQFLAGS=      -Dunix -msse2

Is it feasible?

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