On Wed, Mar 5, 2025 at 8:14 AM Gleb Popov wrote:
>
> On Wed, Mar 5, 2025 at 3:51 PM Jason E. Hale wrote:
> >
> > LLVM_PREFIX is defined whether the 'noexport' argument is passed to
> > USES=llvm or not.
> > 'noexport' just prevents setting the values of CC, CXX, and CPP.
>
> Right, and Igor was a
On Wed, Mar 5, 2025 at 3:51 PM Jason E. Hale wrote:
>
> LLVM_PREFIX is defined whether the 'noexport' argument is passed to
> USES=llvm or not.
> 'noexport' just prevents setting the values of CC, CXX, and CPP.
Right, and Igor was asking for the LLVM_PREFIX variable only, so
noexport fits there.
On Wed, Mar 5, 2025 at 5:28 AM Gleb Popov wrote:
>
> On Wed, Mar 5, 2025 at 11:03 AM Igor Kolesnik wrote:
> >
> > On Mon, Mar 03, 2025 at 08:22:12PM +0300, Gleb Popov wrote:
> > > Ports are expected to locate their dependencies under the ${LOCALBASE}
> > > prefix.
> >
> > Well, specifically, I n
On Wed, Mar 5, 2025 at 11:03 AM Igor Kolesnik wrote:
>
> On Mon, Mar 03, 2025 at 08:22:12PM +0300, Gleb Popov wrote:
> > Ports are expected to locate their dependencies under the ${LOCALBASE}
> > prefix.
>
> Well, specifically, I need paths to llvm and openjdk. I can use
>
> ${LOCALBASE}/openjdk
I think, I got it.
LOCALBASE is always the same, e.g. /usr/local
LLVM_PREFIX may change
If I do 'make install', LLVM_PREFIX == LOCALBASE/llvm,
but if, for example, 'PREFIX=/opt make install' then
LOCALBASE still /usr/local, and
LLVM_PREFIX will be /opt/llvm
Is that right?
On Mon, Mar 03, 2025 at 08:22:12PM +0300, Gleb Popov wrote:
> Ports are expected to locate their dependencies under the ${LOCALBASE} prefix.
Well, specifically, I need paths to llvm and openjdk. I can use
${LOCALBASE}/openjdk${JAVA_VERSION}
${LOCALBASE}/llvm
or
${JAVA_HOME}
${LLVM_PREFIX}
Wha
On Mon, Mar 03, 2025 at 08:22:12PM +0300, Gleb Popov wrote:
> Ports are expected to locate their dependencies under the ${LOCALBASE} prefix.
Super. Thanks.
On Mon, Mar 3, 2025 at 7:59 PM Igor Kolesnik wrote:
>
> Hi;
>
> I'm makeing a port, let's say 'foo'. It has a build dependency on a
> port 'bar'.
>
> In order to build 'foo' I need to know the installation directory of
> 'bar'.
>
> In the foo's Makefile I can write
>
> `pkg info -pq`/bar
>
> I wo