pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/54894 (openssl-1.1.1d fails to configure on Solaris 10)
The following reply was made to PR pkg/54894; it has been noted by GNATS.
From: Roland Illig <roland.illig%gmx.de@localhost>
To: Hiroshi Hakoyama <hiroshi-hakoyama%nagano.ac.jp@localhost>
Cc: gnats-bugs%netbsd.org@localhost, solaris-pkg-people%netbsd.org@localhost,
pkgsrc-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost
Subject: Re: pkg/54894 (openssl-1.1.1d fails to configure on Solaris 10)
Date: Tue, 11 Feb 2020 09:27:22 +0100
On 11.02.2020 08:22, Hiroshi Hakoyama wrote:
> Thank you for the detailed suggestions.
>
> # bmake show-all-gcc
> gcc:
> usr USE_NATIVE_GCC=3D no
> usr USE_PKGSRC_GCC=3D no
> usr USE_PKGSRC_GCC_RUNTIME=3D no
...
This looks pretty good. Nothing unusual.
Did you have a look at the code in the "config" file?
It only sets GCCVER if CC is still unset. And since CONFIGURE_ENV
includes CC=3Dcc, it is already set, and the block that could set GCCVER
is skipped completely.
On other platforms it works because the value of GCCVER is not used at all=
.
I hacked around a little, and when you add the following to the package
Makefile, at the very end, below the inclusion of bsd.pkg.mk, it should
work.
.include "../../mk/bsd.pkg.mk"
# empty, to force GCCVER to be evaluated on SunOS
CONFIGURE_ENV+=3D CC=3D
Please try this, and if that works, I'll have to think about a good and
elegant solution. Usually the bsd.pkg.mk line is the last line in every
package Makefile, therefore this is only a quick hack.
With this line, the file work/.work.log should contain the word
"-dumpversion", which it didn't contain before since that block was skippe=
d.
Home |
Main Index |
Thread Index |
Old Index