[kde-freebsd] archivers/quazip

Ralf Nolden nolden at kde.org
Mon Sep 7 11:34:22 UTC 2015


Hi,

to whom it may concern :)

While fiddling with qcad which should compile with 4.8.7 and also with 5.4.1, 
5.4.2 and 5.5.0, I figured that it links to libquazip.so, which is in 
archivers/quazip. As quazip is linked to qt4 and installed to /usr/local/lib, 
porting qcad to qt5 won't work as the qcad build-in 3rdparty version doesn't 
get installed but the quazip port version is used (resulting in a crash on 
start).

To circumvent those problems, I made a patch against quazip to install it to 
/usr/local/lib/qt4 and includes to /usr/local/include/qt5 for a new port 
quazip-qt5 and fixed the old port to use qt4 and install to /usr/local/lib/qt4.

Maybe a USE_LDCONFIG is still needed in the Makefiles but I guess things should 
work without as qt4 and qt5 are already installed for compilation and added 
already to ld.

A test would be to rebuild marble or other dependent ports with both versions 
installed to see if the build still works for the qt4 version and ldd picks up 
the right one on starting the apps.


-- 
Kind regards,

Ralf Nolden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ports-archivers-quazip-r396121.diff
Type: text/x-patch
Size: 7184 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20150907/8022cb04/attachment-0001.bin>


More information about the kde-freebsd mailing list