Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2022 07:46:35 +0200
From:      Axel Rau <Axel.Rau@chaos1.de>
To:        Dan Mahoney <freebsd@gushi.org>, ports@FreeBSD.org
Subject:   Re: porting Makefiles from Linux
Message-ID:  <7727b815-e6df-18b7-5e56-4fc7c94b737d@Chaos1.DE>
In-Reply-To: <5de0b78b-63c4-3e2c-d3e4-17a0df59a273@Chaos1.DE>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <Axel.Rau@chaos1.de=20
>>> <mailto:Axel.Rau@chaos1.de>>:
>>>
>>> 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
>> <https://github.com/mc3/fbsd_local_ports/tree/master/net/home2l>;
>> ---
>> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7727b815-e6df-18b7-5e56-4fc7c94b737d>