From nobody Tue Aug 09 11:27:29 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M29lk4zxvz4Yg47 for ; Tue, 9 Aug 2022 11:27:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M29lj5b6nz3fsC for ; Tue, 9 Aug 2022 11:27:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4M29lj3lxqzW3b for ; Tue, 9 Aug 2022 11:27:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 279BRTXY059708 for ; Tue, 9 Aug 2022 11:27:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 279BRT3u059707 for ports-bugs@FreeBSD.org; Tue, 9 Aug 2022 11:27:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 265651] [NEW PORT] archivers/zpaqfranz: versioned/snapshot archive Date: Tue, 09 Aug 2022 11:27:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: franco@francocorbelli.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660044449; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WO9JiR9KrvY3aPmfwB1zc/3S9z+tf+kKlkvSKCJzpsY=; b=VzIsUhXhx9419PpUHPguDdqdAME3w6KTZmevVEhJTaJty90KuM5pp0OFzLT/TgEAWntNpg fbXqhzSwf887VTSG96nEYwIZK/6dSyYK8Y7wisxRKLMWzPe4V1gPNeT5FYD5PUywmtrv3H 5UwFIPJ9CR+aVEVdPGqylY+uW6Tq0asb90p3aFWZ4bFybOQHksiaYFrDWEXJ0l51t4k8kf fmkRatxVviJEXuaoa2ufCjAbsgHea02w5VUMotNaQ93Z1C14N33Kux+G7ZIFuKDXeysHZn nFMy4MB+ye9+FbTvBdCOUbXH8c5sAQgIJO2B7tQMPrtbjVQUusInVOFNcswsSA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660044449; a=rsa-sha256; cv=none; b=MZlCZx+eSLft7daxZrpna1v+NFhKI7TUgK5GfyCPnjHLKAWqAxBo7u7WBSJPF787FU4DMD LUpci/PySmP49npz+hwFScQO+bweF+YllK1+CmVwaUi/dYEG0ZMzmvUR3UB7t9hkyKVdv0 VuFg07GiOoPmMOZ7FZEgK7VvqHinIdfw8NwUnUzgXK3f9zEKkDdy0cq0HTyUK0kb4dsWUC lSWERdRmLx+M+BXZEyeFdnCEdSrXg1FMgh7xRBWaxQrEVnDdnUXHl9VVJalvRJI2aji4iK UchFcOv/7xadWomdAmNcJLIdAlXZI28JD6F3u5s9iqPyiCY9wYy4cn38UxUyXw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265651 --- Comment #2 from Franco Corbelli --- Thank for you comments "* Never set WRKSRC to WRKDIR. Instead, for an upstream distfile that doesn= 't create a subdir itself, set NO_WRKSUBDIR=3Dyes." It is my very first port, I have "cloned" some other, I'll check "* Never define do-build and do-install targes if upstream already provides= a build system that can do them (which is the case here)." You can find here why there are "two" Makefiles https://forums.freebsd.org/threads/makefile-s-for-a-non-intel-only-port.860= 73/ One (the "inside .tar.gz") is, in fact, a Linux/FreeBSD/Solaris Makefile The second ("the port") is the FreeBSD specific, checking for "Intel" CPU a= nd "others" (defining -DNOJIT in the compiling phase) Basically you need a conditional compilation (by activating -DNOJIT) on non= -x86 machines. Maybe you can suggest me the best way * Similar for CPU features, you're checking for SSE2 on the building machin= e, but if the executing machine doesn't have it, it will fail. In general, you can't assume SSE2 on i386. It is true, but I do not know how to write a "multiple case" (yet) "* The upstream Makefile installs the same binary twice. Remove one of them= . If the second name is really strictly needed, replace it with a symlink." The second name is really needed, because if the executable is named "dir" = ... works just like Windows' dir :-) In fact two programs in one executable --=20 You are receiving this mail because: You are the assignee for the bug.=