summaryrefslogtreecommitdiff
path: root/sci-chemistry/gsim/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-chemistry/gsim/files
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-chemistry/gsim/files')
-rw-r--r--sci-chemistry/gsim/files/gsim-21.3-build.conf.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/sci-chemistry/gsim/files/gsim-21.3-build.conf.patch b/sci-chemistry/gsim/files/gsim-21.3-build.conf.patch
new file mode 100644
index 000000000000..da7d7b7b4457
--- /dev/null
+++ b/sci-chemistry/gsim/files/gsim-21.3-build.conf.patch
@@ -0,0 +1,49 @@
+ gsim.pro | 23 ++++++++++++++---------
+ 1 file changed, 14 insertions(+), 9 deletions(-)
+
+diff --git a/gsim.pro b/gsim.pro
+index f88dc8a..579a91c 100755
+--- a/gsim.pro
++++ b/gsim.pro
+@@ -10,27 +10,32 @@
+
+ #Uncomment next line if you want to use EMF output
+ #EMF output requires libEMF or Wine on X11 systems and MAC(?)
+-CONFIG+=use_emf
++#CONFIG+=use_emf
+
+ #DO NOT UNCOMMENT NEXT LINE. The scripting possibilty won't work at the moment
+ #CONFIG+=use_script
+
+ # Change directories locations for libcmatrix, MinUIT and muParser libraries
+-unix:INCLUDEPATH += /home/dch0ph/libcmatrixR3nosse/include \
+- /home/dch1vz/Minuit2/include \
+- /home/dch1vz/muparser/include
++#unix:INCLUDEPATH += /home/dch0ph/libcmatrixR3nosse/include \
++# /home/dch1vz/Minuit2/include \
++# /home/dch1vz/muparser/include
+
+ win32:INCLUDEPATH += "C:\gsim\libcmatrixR3_qt4\include" "C:\gsim\Minuit2_qt4\include" "C:\gsim\muparser_qt4\include"
+
+-unix:LIBS += -lcmatrix -L/home/dch0ph/libcmatrixR3nosse/lib -lMinuit2Base -L/home/dch1vz/Minuit2/lib -L/home/dch1vz/muparser/lib -lmuparser
++#unix:LIBS += -lcmatrix -L/home/dch0ph/libcmatrixR3nosse/lib -lMinuit2Base -L/home/dch1vz/Minuit2/lib -L/home/dch1vz/muparser/lib -lmuparser
+
+ win32:LIBS += -lcmatrix -L"C:\gsim\libcmatrixR3_qt4\lib" -lMinuit2 -L"C:\gsim\Minuit2_qt4\lib" -L"C:\gsim\muparser_qt4\lib" -lmuparser
+
+ #Change directories location for libEMF (if used)
+-use_emf {
+- DEFINES+=USE_EMF_OUTPUT
+- unix:LIBS +=-lEMF -L/usr/include/libEmf
+- win32:LIBS +=-lgdi32
++#use_emf {
++# DEFINES+=USE_EMF_OUTPUT
++# unix:LIBS +=-lEMF -L/usr/include/libEmf
++# win32:LIBS +=-lgdi32
++#}
++
++GSIM_ROOT = .
++!include( $$GSIM_ROOT/build.conf ) {
++ message( "You need a build.conf file with local settings!" )
+ }
+
+ #################################################################################################