tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gfortran: 10 for netbsd-10, and getting a full dependency on gfortran in a meta package



* On 2023-06-13 at 14:02 BST, Greg Troxel wrote:

1) Some of the python things that get installed in the venv need
fortran, so I want a full dependency on the fortran compiler.  Currently
it just depends on gcc7, which is ok on netbsd-9, but on NetBSD 10 there
is gcc10 and it seems we should use gcc10 for gfortran.  However, with
META_PACKAGE, USE_LANGUAGES is ignored, and hence _USE_GFORTRAN is
turned off.  I don't see any I_WANT_A_FULL_DEP_ON_A_FORTRAN_COMPILER
knob.

I don't know if this is useful to you, but for my build-essential package (which is inspired by the Debian package of the same name, i.e. install a load of useful build tools) I include compiler.mk and do this:

  https://github.com/TritonDataCenter/pkgsrc-joyent/blob/master/build-essential/Makefile#L22-L36

to pick up the appropriate GCC for the target branch.

--
Jonathan Perkin   -   mnx.io   -   pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index