diff options
Diffstat (limited to 'science/xdrawchem/files/patch-xdrawchem.pro')
| -rw-r--r-- | science/xdrawchem/files/patch-xdrawchem.pro | 35 |
1 files changed, 2 insertions, 33 deletions
diff --git a/science/xdrawchem/files/patch-xdrawchem.pro b/science/xdrawchem/files/patch-xdrawchem.pro index f5121eaf6e9b..829d8ac9920c 100644 --- a/science/xdrawchem/files/patch-xdrawchem.pro +++ b/science/xdrawchem/files/patch-xdrawchem.pro @@ -1,38 +1,7 @@ ---- xdrawchem.pro.orig 2021-01-06 18:45:48 UTC +--- xdrawchem.pro.orig 2024-11-15 16:56:22 UTC +++ xdrawchem.pro -@@ -2,17 +2,17 @@ TEMPLATE = app - TARGET = xdrawchem +@@ -3,7 +3,7 @@ isEmpty(PREFIX) { - # edit to match your OB install --exists(/usr/include/openbabel3/openbabel/mol.h) { --INCLUDEPATH += /usr/include/openbabel3 -+exists(%%LOCALBASE%%/include/openbabel3/openbabel/mol.h) { -+INCLUDEPATH += %%LOCALBASE%%/include/openbabel3 - LIBS += -lopenbabel - } --exists(/usr/local/include/openbabel-3.0/openbabel/mol.h) { --INCLUDEPATH += /usr/local/include/openbabel-3.0 -+exists(%%LOCALBASE%%/include/openbabel3/openbabel/mol.h) { -+INCLUDEPATH += %%LOCALBASE%%/include/openbabel3 - LIBS += -lopenbabel - } --exists(/Developer/openbabel-3.0/include/openbabel/mol.h) { --INCLUDEPATH += /Developer/openbabel-3.0/include --LIBS += -L/Developer/openbabel-3.0/lib/Debug -lopenbabel -+exists(%%LOCALBASE%%/openbabel3/include/openbabel/mol.h) { -+INCLUDEPATH += /Developer/openbabel3/include -+LIBS += -L/Developer/openbabel3/lib/Debug -lopenbabel - } - # exit if openbabel wasn't found - contains( LIBS, -lopenbabel ) { -@@ -20,12 +20,12 @@ contains( LIBS, -lopenbabel ) { - error(OpenBabel was not found. Edit xdrawchem.pro and add valid include and lib values) - # if you get this error, comment the above with #, uncomment the variables below, and set - # the paths to match your OpenBabel install --#INCLUDEPATH += /usr/local/include/openbabel-3.0 -+#INCLUDEPATH += %%LOCALBASE%%/include/openbabel-3.0 - #LIBS += -lopenbabel - } # set PREFIX if not set (it is set when building RPM) isEmpty(PREFIX) { -PREFIX = /usr/local |
