From nobody Fri Aug 05 14:29:23 2022 X-Original-To: dev-commits-ports-all@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 4LznzS0rSgz4Y6CP; Fri, 5 Aug 2022 14:29:24 +0000 (UTC) (envelope-from git@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 4LznzS04sCz3PkF; Fri, 5 Aug 2022 14:29:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659709764; 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; bh=+Xgj6eCXXkaR8bkP65xVOq0PhDOCp/yduTwFhCRxmaE=; b=cx8OKmG4sR/UOtV44Me/U70Euw3PKvMTm8XHZRTEUDj+R5sliTA20yI1nP4SI/pQ/okgTX ZvXtv9rYPy/gSbhNpQL5hHWXLw840dZLcTBKhr6VvwnPOqmQLv+IEUp9yMxBzg8rnCHnOH 6U7u/YIZhPvGfQ24QN3Udl+P/4No9E3eU2XjPbcwtDC2i1Wev8AjJN78A0t86sK0cetmdm apfZYnqO4dLhWXaY/HTntfyc56crWSHm+EF/xqW92zaFwe6dnPWKIFYAIUxm80n4j+YNec ltbTf4INXEx37JnZOQg6lohh0SX8nuGaV5s/HRPKsmVqm3VygNA0YpEyt+pOzw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4LznzR67T8zwtS; Fri, 5 Aug 2022 14:29:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 275ETNgF053314; Fri, 5 Aug 2022 14:29:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 275ETNUK053313; Fri, 5 Aug 2022 14:29:23 GMT (envelope-from git) Date: Fri, 5 Aug 2022 14:29:23 GMT Message-Id: <202208051429.275ETNUK053313@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 329cfa24b950 - main - sysutils/neofetch: improve architecture detection List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 329cfa24b950f82d2372b1b31e8f89174c25d6cd Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659709764; 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; bh=+Xgj6eCXXkaR8bkP65xVOq0PhDOCp/yduTwFhCRxmaE=; b=sHdhvwpxXdA0FBdbffcQhjkyvhyB7UZdwhE++YyEdPaf0nKThaWdmJH8r36okPbViIR7Nv rWFGFqL4RebUXN4S4ogKdpc01GHkRaWUdofRyaCBRdoc0tW1noWVADckCRepFIUvf1fDmW CFjmxun3FcO03TOnDO9a/nxNiZp7c+b9fNqzZhJczmduTVHEWbgB3cNr4mKn3B2qhZwXHX z0YbPSnRDjN1H9tsiM2DKsGqxsSYmxYGf72Eu03q5O+bBBm6bZGBXInmAr0ZlHvJX3DZTS 9lbSOn1hA7lUJ8MABKCHjbe45nQWtqJ2v7x/n2sIVpFn6M5Wd6eZlFdLXEpKzg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659709764; a=rsa-sha256; cv=none; b=a1A71Sf1qiX/KsCvG02ahxplKzHvufniV+OozBtWGPencwVw1/yBWk4jE8Glp16P0WyZYk gHIh+w1uYA87qgsq5x6l9/t/z5KD6rXdVdfOtCU9qzSSXu4UtEZ14w6NIh7DXvTXxrRd0v AEvWtf8miXmNCTNfLzu/Nmx8hZMRoY+gXvKAMlKCMCSa0rP3UAxs35E4ogquX3epqo9FSc W+CkEWQodN6Ek8OVNss+Wevu6XiRjV4FuPgSp/aqto8LzXfQUyjfOg+OSBapoX3BoiHNQ+ LiObBwaMxkOHiECSVLD7h/Tl707usdiWNJT6tnNdd9MpE9yMRu+y2hp7cl8E8Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=329cfa24b950f82d2372b1b31e8f89174c25d6cd commit 329cfa24b950f82d2372b1b31e8f89174c25d6cd Author: Piotr Kubaj AuthorDate: 2022-08-05 14:28:14 +0000 Commit: Piotr Kubaj CommitDate: 2022-08-05 14:29:16 +0000 sysutils/neofetch: improve architecture detection Now on powerpc64: OS: FreeBSD 14.0-CURRENT powerpc64 Previously: OS: FreeBSD 14.0-CURRENT powerpc --- sysutils/neofetch/Makefile | 3 +++ sysutils/neofetch/files/patch-Makefile | 9 --------- sysutils/neofetch/files/patch-neofetch | 11 +++++++++++ 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/sysutils/neofetch/Makefile b/sysutils/neofetch/Makefile index 9b4e60cc539b..b709baa902a4 100644 --- a/sysutils/neofetch/Makefile +++ b/sysutils/neofetch/Makefile @@ -1,5 +1,6 @@ PORTNAME= neofetch DISTVERSION= 7.1.0 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= pkubaj@FreeBSD.org @@ -16,6 +17,8 @@ GH_ACCOUNT= dylanaraps NO_ARCH= yes NO_BUILD= yes +MAKE_ENV= PREFIX="${PREFIX}" + OPTIONS_DEFINE= DOCS post-install-DOCS-on: diff --git a/sysutils/neofetch/files/patch-Makefile b/sysutils/neofetch/files/patch-Makefile deleted file mode 100644 index c63bf0db6f4e..000000000000 --- a/sysutils/neofetch/files/patch-Makefile +++ /dev/null @@ -1,9 +0,0 @@ ---- Makefile.orig 2018-05-19 21:56:46 UTC -+++ Makefile -@@ -1,5 +1,5 @@ --PREFIX ?= /usr -+PREFIX ?= /usr/local - MANDIR ?= $(PREFIX)/share/man - - all: - @echo Run \'make install\' to install Neofetch. diff --git a/sysutils/neofetch/files/patch-neofetch b/sysutils/neofetch/files/patch-neofetch new file mode 100644 index 000000000000..a6082749d12d --- /dev/null +++ b/sysutils/neofetch/files/patch-neofetch @@ -0,0 +1,11 @@ +--- neofetch.orig 2022-08-05 13:28:08 UTC ++++ neofetch +@@ -1193,7 +1193,7 @@ get_distro() { + + # Get OS architecture. + case $os in +- Solaris|AIX|Haiku|IRIX|FreeMiNT) ++ Solaris|AIX|Haiku|IRIX|FreeMiNT|BSD) + machine_arch=$(uname -p) + ;; +