From nobody Mon Jul 04 21:36:04 2022 X-Original-To: dev-commits-ports-main@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 C5F561CF89C6; Mon, 4 Jul 2022 21:36:04 +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 4LcJyX4wRtz3kj8; Mon, 4 Jul 2022 21:36:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656970564; 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=itvxgtLmv/qxrKx7EKmvl2zvZ2hYKlKl432wLHNPERE=; b=ISv/C3LF0qReBOuElZ0gIzCVjI1C9dTU8i0O3D71mY/kkXtaRAW0vp2ow0pUK+/MgvpiXq D/e0QHx3LlT4WsAgyCMCNeEduZy29YSkLHjMEpJNZHMopSHqOf4cD82NHk8cLWZXk14RxD JEZ4PW3GSOUwwHZH92+quz2mN5r1Eg3M3Fd4e8KTUs8HhrDky4OSlw0kD6/Ljxx3TM1ZnJ TdreYdIcEwDqiAdrrPuqZ7j9M/bJ6UYHfAAfg9CL+D72tb/qer6Cw7yISuZdX6DLMupA0A ZrAFISr86VLRwzxyb0fvRjQ6lxTW3O4+w+US1/M3bKzzQrz/5g5nCNq5iRkxLA== 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 856B318DC6; Mon, 4 Jul 2022 21:36:04 +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 264La4Mo048764; Mon, 4 Jul 2022 21:36:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 264La4DG048763; Mon, 4 Jul 2022 21:36:04 GMT (envelope-from git) Date: Mon, 4 Jul 2022 21:36:04 GMT Message-Id: <202207042136.264La4DG048763@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: 4dc727ddf3ec - main - comms/snap7: port to armv7 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 4dc727ddf3ec09f0508ec71031430e473c68c57b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656970564; 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=itvxgtLmv/qxrKx7EKmvl2zvZ2hYKlKl432wLHNPERE=; b=qVt6Qaj4MVtx3P9KHouQ/szWYL6A0PJy3h/biK5NPaBwXbnIXHTTb+e30LA1GFKJG1rqGT GWA/4r1teJu7/cPjOGG68enOnkKVnCuXKCCig26pANYty+j0ZxYiV1u82h9aYuFTJRlNkc q2pd5hOH8XWY7klTILB1vCu8N6yY1KKiBUYWl+bJfsu/eUw+73dcPeXQLSNmmg6ByZPmJy ZuqDUiwy6Cx18TvcDTINCKjJrkzQDPhJjYEcW7JGzMnmL3N6HGLlS4Zfr22G9xIVF+jl+I yq3LhBHO8rbGxcJLUVrkoIpvA4f+OflA8cb/39Skq2YgFktrGsnlBRoSnMbp0g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656970564; a=rsa-sha256; cv=none; b=gVQ3rbg7pfj9xd+dmX00qpZNpxIG5bzlOqCmELYwFBE0TJPPSbur0e9n/LR2gpBIPQ1viw cHrAn/byzx5sH5v/cUhRYRdsNqcqKamBoeRLcsxpydn6Mtn76Qp5oWSIMYOen+Ib8ZB594 /WQA6nVHb0xYG3hVbaHl1Z4yCWJ6iGbOaDaJHqLnkVH6Ahe0i/0QREbxFHK1Vqu7C8t+Ho 4OSZWqYv1sAvyB0UIyQYjeiQ0I9TWXMeXu0JcrjGcBPnyn7J3LiyQemA2xfXL/sm9Kt4ww fufEkOsiXc7zSVDKywh+GcL0q+KrclPd1+dqyKJlnown7O8kq8B3VaDuRC+A4w== 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=4dc727ddf3ec09f0508ec71031430e473c68c57b commit 4dc727ddf3ec09f0508ec71031430e473c68c57b Author: Robert Clausecker AuthorDate: 2022-06-20 02:42:56 +0000 Commit: Piotr Kubaj CommitDate: 2022-07-04 21:34:44 +0000 comms/snap7: port to armv7 Same pattern as the armv7 patch. PR: 264780 Approved by: vova@fbsd.ru (maintainer timeout) --- comms/snap7/Makefile | 2 +- comms/snap7/files/patch-arm__v7__bsd.mk | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/comms/snap7/Makefile b/comms/snap7/Makefile index c21a04fb1ed0..c513b0afd58d 100644 --- a/comms/snap7/Makefile +++ b/comms/snap7/Makefile @@ -23,7 +23,7 @@ MAKE_ARGS= CC=${CC} CXX=${CXX} LinkerName=${CXX} SharedObjectLinkerName="${CXX} PLIST_FILES= lib/libsnap7.so include/snap7.h share/examples/snap7/c-cpp/snap7.cpp -SNAP_ARCH= ${ARCH:S/amd64/x86_64/:S/armv6/arm_v6/} +SNAP_ARCH= ${ARCH:S/amd64/x86_64/:S/armv/arm_v/} MAKEFILE= ${SNAP_ARCH}_bsd.mk post-install: diff --git a/comms/snap7/files/patch-arm__v7__bsd.mk b/comms/snap7/files/patch-arm__v7__bsd.mk new file mode 100644 index 000000000000..7b2661dec3ef --- /dev/null +++ b/comms/snap7/files/patch-arm__v7__bsd.mk @@ -0,0 +1,18 @@ +--- arm_v7_bsd.mk.orig 2016-12-20 09:52:10 UTC ++++ arm_v7_bsd.mk +@@ -0,0 +1,15 @@ ++## ++## ARMHF V7 tested on ++## - Raspberry board - ++## ++## To improve the build speed in small systems disable -pedantic ++## switch in CXXFLAGS ++## ++TargetCPU :=arm_v7 ++OS :=bsd ++CXXFLAGS := -O3 -g -fPIC -pedantic ++ ++# Standard part ++ ++include common.mk ++