1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/Mk
Adriaan de Groot ebaa6d9f96 Re-work Qt5 install- and deinstall scripts.
Qt5 packages *together* manage a header file qconfig-modules.h which
`#includes` other headers. A given Qt5 package may get a line in there,
or it might not: that depends on package settings.

On installing a package, add the line (if needed), on deinstall, remove
the line (if it was there). There's a tricky case, too: upgrading
a package that *had* a line, but no longer has one. That behaves like
deinstall. Previously we used @postexec and @postunexec lines, but
these were fragile in their own special way. See the linked PRs for
examples -- or tcberner's comment that his qconfig-modules.h file
*was* a screenful, and is now much shorter (and alphabetical, too!)

An additional complication comes from needing to update qtchooser,
*if* it is installed and *if* the package needs it. There was another
set of @postexec lines for that.

Migrate all the update logic to a shell script (there already was one
for deinstall, now make it do triple-duty). From the template file,
`pkg-change.in`, we generate a pkg-install and a pkg-deinstall
script that does the right thing.

PR:		253356 253360
Reported by:	Nimaje on IRC
Reviewed by:	tcberner
2021-02-23 20:11:56 +00:00
..
Scripts Revert r562049 which I committed by mistake. 2021-01-19 15:04:17 +00:00
Uses Re-work Qt5 install- and deinstall scripts. 2021-02-23 20:11:56 +00:00
Wrappers Remove the -L argument that crept in by accident 2020-03-10 14:22:50 +00:00
bsd.ccache.mk
bsd.commands.mk
bsd.default-versions.mk Remove llvm60 from comment in bsd.default-versions.mk 2021-02-19 17:58:58 +00:00
bsd.destdir.mk
bsd.gcc.mk In some cases one may want to use GCC to build something when its 2021-01-30 15:15:01 +00:00
bsd.gecko.mk Mk/bsd.gecko.mk: use --enable-lto=thin on powerpc64le 2021-02-18 09:35:14 +00:00
bsd.gstreamer.mk Remove expired gstreamer 0.x 2021-02-04 06:04:50 +00:00
bsd.java.mk Add support for openjdk16 and 16[+] as a valid version 2021-02-23 04:37:06 +00:00
bsd.ldap.mk
bsd.licenses.db.mk
bsd.licenses.mk
bsd.local.mk
bsd.ocaml.mk Use @rmempty 2020-10-22 12:48:20 +00:00
bsd.octave.mk - Update master_sites for older packages. 2020-08-11 00:34:06 +00:00
bsd.options.desc.mk Add LTO_DESC to Mk/bsd.options.desc.mk. 2021-02-10 19:17:45 +00:00
bsd.options.mk
bsd.port.mk Remove expired gstreamer 0.x 2021-02-04 06:04:50 +00:00
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk
bsd.ruby.mk Add libunwind for aarch64, powerpc64 and powerpc64le. 2020-10-12 18:25:13 +00:00
bsd.sanity.mk
bsd.sites.mk bsd.sites.mk: Unify MASTER_SITE_PHP and switch to HTTPS 2020-10-15 03:38:05 +00:00
bsd.ssp.mk
bsd.tex.mk
bsd.wx.mk Finish py-wxPython28 removal and unbreak INDEX 2020-08-15 13:30:07 +00:00