Created attachment 171165 [details] s#%%QT_BINDIR%%#bin#g cad/qcad uses the substitution %%QT_BINDIR%% [=relative path to Qt binaries] by mistake. The attached patch replaces this everywhere by "bin"
A commit references this bug: Author: mr Date: Thu Jun 9 09:24:32 UTC 2016 New revision: 416586 URL: https://svnweb.freebsd.org/changeset/ports/416586 Log: - Delete the usage of %%QT_BINDIR%% in pkg-plist (NB.: %%QT_BINDIR%% is still generated by `make makeplist`) - While there update to 3.15.2.0 PR: 210110 Changes: head/cad/qcad/Makefile head/cad/qcad/distinfo head/cad/qcad/files/patch-src_entity_entity.pro head/cad/qcad/pkg-plist
Hi, I've commited the requested changes. Since usually I generate the PLIST using `make makeplist`, could someone please fix the generation of '%%QT_BINDIR%%' there? As it seems there is a function which replaces all occurrences of 'bin' by '%%QT_BINDIR%%'... Thanks! --- mike
You do know that make makeplist generate a plist that starts with: /you/have/to/check/what/makeplist/gives/you Which means, YOU HAVE TO CHECK WHAT MAKE MAKEPLIST GIVES YOU. Does it work better in caps ?
Hi, My main question is: Does it make still sense for `make makeplist` to replace all 'bin' with '%%QT_BINDIR%%' or should it be changed to avoid that? BTW: What triggers the replacement? (USE_QT4?) Greetings --- mike
No, it makes no sense at all, I agree, it'll also replace lib with %%QT_LIBDIR%%. It comes from QT, yes, I've had a look at it the other day, and I could not really understand why it is being silly.
The patch is committed. The change of make makeplist should be a separate PR.
For the make makeplist PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210227