tech-pkg archive

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

Re: qmake and STRIP

On Sun 27 Jun 2021 at 19:44:22 +0200, Olaf Seibert wrote:
> An argument for that is that the pkgsrc-supplied file, with
> bsd/bsd.conf, would of course be wrong for non-BSDs. For example,
> solaris-cc/qmake.conf has include(../common/unix.conf) and
> linux-g++-64/qmake.conf has include(../common/linux.conf).

This is relevant because this single file gets copied to *all* those
other operating system's qmake.conf files, due to this in

	${SED}  -e 's:@PREFIX@:${PREFIX}:g' \
	${FILESDIR}/${QMAKE_CONF} > ${WRKSRC}/qmake.conf
        for dir in ${WRKSRC}/mkspecs/*; do \
                        cp ${WRKSRC}/qmake.conf $${dir}; \
                        rm -f $${dir}/*.orig; \

which looks rather wrong to me, since even winrt-arm64-msvc2017 now
claims to be netbsd, and x86_64--netbsd, and that sort of silliness.
Yes that's not a pkgsrc-supported OS, but all the ones that are still
claim to be the same thing. If we're going to lock the config files into
the system it's built on, let's at least remove the ones that are meant
for other systems.

___ Q: "What's an anagram of Banach-Tarski?"  -- Olaf "Rhialto" Seibert
\X/ A: "Banach-Tarski Banach-Tarski."         -- rhialto at falu dot nl

Attachment: signature.asc
Description: PGP signature

Home | Main Index | Thread Index | Old Index