pkgsrc-Users archive

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

pkgsrc/cad/qcad build problem



Hi,
While I was "make package", compilation terminated with missing library
error.
I inspected patches and saw that some patches already related to similar
problem.
After adding the patch below, I have able to make package.
Before freeze, ould someone review and add missing patch please?

By the way, PLIST has one-line missing entry: lib/libqcadscripts.so

Best regards,
Mustafa Dogan

My patch proposal is below:

--- src/scripts/scripts.pro.orig        2021-05-19 15:03:55.971487720 +0300
+++ src/scripts/scripts.pro     2021-05-19 15:08:38.619283102 +0300
@@ -6,8 +6,9 @@ TEMPLATE    = lib
 HEADERS     = RScriptsPlugin.h
 SOURCES     = RScriptsPlugin.cpp
 DESTDIR     = ../../plugins
+INSTALLS    += target
 RC_FILE     = scripts.rc
-LIBS        += -l$${RLIBNAME}core
+LIBS        += -L../core -l$${RLIBNAME}core

 CONFIG      += resources_big





Home | Main Index | Thread Index | Old Index