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

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 09 Aug 2022 12:19:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265651

--- 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

NO_WRKSUBDIR=   yes
ZPAQFLAGS=      -Dunix -DNOJIT

.include <bsd.port.options.mk>

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

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

Is it feasible?

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