Hi,
I'm trying to build my first port. It needs devel/gprbuild to build. This gets installed fine however devel/gprbuild is not reachable in the current PATH and the port fails to find it. It installs it at
/usr/local/gnat12/bin/
Here is my Makefile where I try to set the PATH via MAKE_ENV but it still doesn't find it. If I set PATH in my shell before calling Make it runs find.
Any suggestions? Thanks
I'm trying to build my first port. It needs devel/gprbuild to build. This gets installed fine however devel/gprbuild is not reachable in the current PATH and the port fails to find it. It installs it at
/usr/local/gnat12/bin/
Code:
===> Installing for gprbuild-24.0.0,1
===> Checking if gprbuild is already installed
===> Registering installation for gprbuild-24.0.0,1 as automatic
(gprbuild-24.0.0,1) /usr/ports/devel/gprbuild/work/stage//usr/local/gnat12/share/examples/gprbuild/libraries/main3 - required shared library libgnat-12.so not found
(gprbuild-24.0.0,1) /usr/ports/devel/gprbuild/work/stage//usr/local/gnat12/share/examples/gprbuild/libraries/main4 - required shared library libgnat-12.so not found
(gprbuild-24.0.0,1) /usr/ports/devel/gprbuild/work/stage//usr/local/gnat12/share/examples/gprbuild/libraries/main2 - required shared library libgnat-12.so not found
(gprbuild-24.0.0,1) /usr/ports/devel/gprbuild/work/stage//usr/local/gnat12/share/examples/gprbuild/scenarios/obj1/main - required shared library libgnat-12.so not found
[jail.nubis] Installing gprbuild-24.0.0,1...
===> NOTICE:
The gprbuild port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:
https://bugs.freebsd.org/bugzilla
More information about port maintainership is available at:
https://docs.freebsd.org/en/articles/contributing/#ports-contributing
===> whitakers-words-g20230223 depends on executable: gprbuild - not found
Here is my Makefile where I try to set the PATH via MAKE_ENV but it still doesn't find it. If I set PATH in my shell before calling Make it runs find.
Any suggestions? Thanks
Makefile:
PORTNAME= whitakers-words
DISTVERSION= g20230223
CATEGORIES= lang
MASTER_SITES= ftp://ftp.rediris.es/sites/ftp.freebsd.org/pub/FreeBSD/
LICENSE_PERMS= dist-mirror
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
MAINTAINER= youremail@example.com
COMMENT= Whitakers Words English to Latin dictionary
WWW= https://github.com/mk270/whitakers-words
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= mk270
GH_TAGNAME= 9b11477
MAKE_ENV= PATH=/usr/local/gnat12/bin/:${PATH}
BUILD_DEPENDS= gprbuild:devel/gprbuild gmake:devel/gmake gnat12:lang/gnat12