Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jun 2022 18:31:34 +0200
From:      Michael Gmelin <grembo@freebsd.org>
To:        jbo@insane.engineer
Cc:        ports@freebsd.org
Subject:   Re: Issue with install prefix
Message-ID:  <C604E38C-E390-45DD-91D2-03382102D041@freebsd.org>
In-Reply-To: <AmvGhmkDxzspzAdsuJybo4i2iX4XgWLSyLz1Of_W5n6nAmL621xO3rMUe7xFzV9pbYmBGHgKKCtTPPVG_I6MzfErl8fhxfiZKRWHo0FKock=@insane.engineer>
References:  <AmvGhmkDxzspzAdsuJybo4i2iX4XgWLSyLz1Of_W5n6nAmL621xO3rMUe7xFzV9pbYmBGHgKKCtTPPVG_I6MzfErl8fhxfiZKRWHo0FKock=@insane.engineer>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail-371E2BBD-63A0-4DD3-A259-394C0DA57FD2
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable



> On 18. Jun 2022, at 17:20, jbo@insane.engineer wrote:
>=20
> =EF=BB=BF
> Hello guys,
>=20
> Please excuse the non-telling subject of this e-mail. I am a bit lost here=
 and don't exactly understand where the problem I'm about to outline origina=
tes form.
>=20
> A few weeks ago, I created a port of a C++17 library which is built using C=
Make. Everything went very smoothly.
> Now I wanted to create another port, also of a C++17 library which is buil=
t using CMake. While the port itself compiles & installs successfully, I can=
not pass `make check-plist`.
>=20
> What I basically see happening is that the port builds and installs correc=
tly but it installs under /usr/local/ rather than in $STAGEDIR/usr/local/
>=20
> The only notable difference between this port and the one I already publis=
hed is that this one depends on Qt5 libraries. However, I doubt that this ha=
s an effect.
>=20
> Building & installing the library manually (outside of FreeBSD's port infr=
astructure) allows me to control where the various files are being installed=
 by CMake by setting CMAKE_INSTALL_PREFIX.
> This leads me to believe that there is nothing inherently wrong with the u=
pstream CMake scripts.
>=20
> I'm not really sure what to ask for other than: Where do I go from here?=20=



Step 1 would be sharing the published port and the one not published yet wit=
h the list, so this isn=E2=80=99t purely theoretical ;)

-m


--Apple-Mail-371E2BBD-63A0-4DD3-A259-394C0DA57FD2
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><div dir=3D"ltr"></div><div dir=3D"ltr"><br=
></div><div dir=3D"ltr"><br><blockquote type=3D"cite">On 18. Jun 2022, at 17=
:20, jbo@insane.engineer wrote:<br><br></blockquote></div><blockquote type=3D=
"cite"><div dir=3D"ltr">=EF=BB=BF<div style=3D"font-family: arial; font-size=
: 14px;">Hello guys,</div><div style=3D"font-family: arial; font-size: 14px;=
"><br></div><div style=3D"font-family: arial; font-size: 14px;">Please excus=
e the non-telling subject of this e-mail. I am a bit lost here and don't exa=
ctly understand where the problem I'm about to outline originates form.</div=
><div style=3D"font-family: arial; font-size: 14px;"><br></div><div style=3D=
"font-family: arial; font-size: 14px;">A few weeks ago, I created a port of a=
 C++17 library which is built using CMake. Everything went very smoothly.</d=
iv><div style=3D"font-family: arial; font-size: 14px;">Now I wanted to creat=
e another port, also of a C++17 library which is built using CMake. While th=
e port itself compiles &amp; installs successfully, I cannot pass `make chec=
k-plist`.<br><br>What I basically see happening is that the port builds and i=
nstalls correctly but it installs under /usr/local/ rather than in $STAGEDIR=
/usr/local/<br></div><div style=3D"font-family: arial; font-size: 14px;"><br=
></div><div style=3D"font-family: arial; font-size: 14px;">The only notable d=
ifference between this port and the one I already published is that this one=
 depends on Qt5 libraries. However, I doubt that this has an effect.</div><d=
iv><br></div><div style=3D"font-family: arial; font-size: 14px; color: rgb(3=
4, 34, 34);">Building &amp; installing the library manually (outside of Free=
BSD's port infrastructure) allows me to control where the various files are b=
eing installed by CMake by setting CMAKE_INSTALL_PREFIX.<br>This leads me to=
 believe that there is nothing inherently wrong with the upstream CMake scri=
pts.<br></div><div style=3D"font-family: arial; font-size: 14px; color: rgb(=
34, 34, 34);"><br></div><div style=3D"font-family: arial; font-size: 14px;">=
I'm not really sure what to ask for other than: Where do I go from here? <br=
></div>
<div class=3D"protonmail_signature_block protonmail_signature_block-empty" s=
tyle=3D"font-family: arial; font-size: 14px;">
    <div class=3D"protonmail_signature_block-user protonmail_signature_block=
-empty">

            </div>

            <div class=3D"protonmail_signature_block-proton protonmail_signa=
ture_block-empty">

            </div>
</div>
</div></blockquote><br><div><br></div><div>Step 1 would be sharing the publi=
shed port and the one not published yet with the list, so this isn=E2=80=99t=
 purely theoretical ;)</div><div><br></div><div>-m</div><div><br></div></bod=
y></html>=

--Apple-Mail-371E2BBD-63A0-4DD3-A259-394C0DA57FD2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C604E38C-E390-45DD-91D2-03382102D041>