From nobody Wed Apr 27 05:46:35 2022 X-Original-To: ports@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 CBF5C1ABD64F for ; Wed, 27 Apr 2022 05:46:38 +0000 (UTC) (envelope-from Axel.Rau@Chaos1.DE) Received: from mailout5.lrau.net (mailout5.lrau.net [IPv6:2a05:bec0:26:5::73]) (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 (2048 bits) client-digest SHA256) (Client CN "mailout5.lrau.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kp76Q0Tprz4p1Z for ; Wed, 27 Apr 2022 05:46:38 +0000 (UTC) (envelope-from Axel.Rau@Chaos1.DE) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=chaos1.de; s=email1; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:To: From:Subject:Mime-Version:Date:Message-Id:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=YWwZ2XeZ2g7Cmts4PUCXBAJaeZus94X0FWEbTF/Al9o=; b=o5IPvtKGjNbDns3tXysFRN4Zwx KuZ3oMAAiUX8aSKqNhs5fXCyV5VRtrtN5XGYTiqmd70gqO9sRNklsKRzz+Ui2KcAwUgfYkLkqAXMq gVn6/28ho40ZXtmZwt5VXYJlbtKLJ1lXWPfwp36tM3iSWjpqpywrTte4H2nMRJ62amz9EzXyptuop iPR9/zkt65H6NYG1Jf5hTS7DM1Uz3DKGLbQhLBTOmErrfiWPe1dQ9SfW8+5yL1g6GUvr7/TtYUlJs i3WKAAnSTmoJkGwNyIsQJXNc9UKwfOmksnf9CHG3TmPURP8FJqJCgF6Av+IwMpd5B0Yrrs6eGs5ON 50hZGM0w==; Received: from [2a05:bec0:26:5::74] (helo=imap5.lrau.net) by mailout5.lrau.net with esmtp (Exim 4.95 (FreeBSD)) (envelope-from ) id 1njaVZ-0005in-6b; Wed, 27 Apr 2022 05:46:37 +0000 Received: from Axel.Rau@Chaos1.DE by imap5.lrau.net (Archiveopteryx 3.2.0) with esmtpsa id 1651038395-77835-77189/7/3; Wed, 27 Apr 2022 05:46:35 +0000 Message-Id: <7727b815-e6df-18b7-5e56-4fc7c94b737d@Chaos1.DE> Date: Wed, 27 Apr 2022 07:46:35 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: porting Makefiles from Linux Content-Language: de-DE From: Axel Rau To: Dan Mahoney , ports@FreeBSD.org References: <7453893C-18B0-4298-9228-BC27AFCAE9E7@Chaos1.DE> <474C8EA9-9BBA-4319-AF30-73394EAB4AE9@gushi.org> <3E5853D5-56E2-41B6-8E17-325364EF2D84@Chaos1.DE> <94B1CB5F-AA8F-4B0B-AD39-C1612ACE7583@Chaos1.DE> <81D58FDE-0C3A-46FF-9CDF-07E0F06C114C@Chaos1.DE> <5de0b78b-63c4-3e2c-d3e4-17a0df59a273@Chaos1.DE> In-Reply-To: <5de0b78b-63c4-3e2c-d3e4-17a0df59a273@Chaos1.DE> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Kp76Q0Tprz4p1Z X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=chaos1.de header.s=email1 header.b=o5IPvtKG; dmarc=none; spf=none (mx1.freebsd.org: domain of Axel.Rau@Chaos1.DE has no SPF policy when checking 2a05:bec0:26:5::73) smtp.mailfrom=Axel.Rau@Chaos1.DE X-Spamd-Result: default: False [-2.81 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[chaos1.de:s=email1]; NEURAL_HAM_MEDIUM(-1.00)[-0.996]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[chaos1.de]; NEURAL_HAM_SHORT(-0.92)[-0.919]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[chaos1.de:+]; RCPT_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[chaos1.de:dkim]; MLMMJ_DEST(0.00)[ports]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:197071, ipnet:2a05:bec0::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[2a05:bec0:26:5::73:from] X-ThisMailContainsUnwantedMimeParts: N In ports Makefile, I have: MAKE_ENV=3D STAGE_INSTALL=3D$(STAGEDIR)${PREFIX}/home2l In the Linux Setup.mk: HOME2L_INSTALL :=3D $(STAGE_INSTALL) In the Linux toplevel Makefile: HOME2L_INSTALL :=3D $(STAGE_INSTALL) So gmake installs into STAGEDIR, but its contents are not used for pkg=20 or final installation. Does staging not work with gamake? Axel Am 26.04.22 um 19:44 schrieb Axel Rau: > Hi Dan, All, >=20 > I still have no idea how to convince this Linux beast to install what = is=20 > in STAGEDIR. > STAGEDIR has: >=20 > # ls -lR stage/usr/local/home2l/ > total 24 > -rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 806 Dec 10 19:40 README > -rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0 22 Apr 26 11:32 VERSION > drwxr-xr-x=C2=A0 3 root=C2=A0 wheel=C2=A0=C2=A0 11 Apr 26 11:32 bin > -rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 543 Apr 26 11:29 env.sh > drwxr-xr-x=C2=A0 2 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 2 Apr 26 11:32 = etc > drwxr-xr-x=C2=A0 2 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 3 Apr 26 11:32 = install > drwxr-xr-x=C2=A0 3 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 3 Apr 26 11:32 = lib > drwxr-xr-x=C2=A0 4 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 4 Apr 26 11:32 = share >=20 > stage/usr/local/home2l/bin: > total 73 > drwxr-xr-x=C2=A0 2 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0=C2=A0 15 Apr 26 = 11:32 amd64 > -rwxr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0 1646 Apr 26 11:29 = h2l-mkdir.sh >=20 > . . . >=20 > I can build the package, but it installs nothing. > I know it's bad practice to install into PREFIX/home2l, but for now, I=20 > want it isolated from other port installs in PREFIX. >=20 > Work-in-progress here: > =C2=A0=C2=A0=C2=A0=C2=A0https://github.com/mc3/fbsd_local_ports/tree/m= aster/net/home2l >=20 > Any help appreciated, > Axel >=20 > Am 25.03.22 um 13:43 schrieb Axel Rau: >> >> >>> Am 25.03.2022 um 12:10 schrieb Axel Rau >> >: >>> >>> Hi Dan, All, >>> >>> should I replace the linux install targets by proper ports plists=20 >>> instead of translating each install statement to FreeBSD style = install ? >> >> Or should I create one port per architecture (amd64, arm embedded or=20 >> avr)? >> >> Please advice, >> Axel >> PS: What I created up to now is unsatisfactory: >> https://github.com/mc3/fbsd_local_ports/tree/master/net/home2l=20 >> >> --- >> PGP-Key:=C2=A0CDE74120 =C2=A0=E2=98=80 =C2=A0computing @ chaos = claudius >> >=20 >=20 =2D-=20 PGP-Key: CDE74120 =E2=98=80 computing @ chaos claudius