aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher (jlec) <jlec@j-schmitz.net>2009-05-12 21:56:28 +0200
committerJustin Lecher (jlec) <jlec@j-schmitz.net>2009-05-12 21:59:09 +0200
commitf23c108fbf5496d90d477de6e1fa26acdb109b8b (patch)
treee1f9bea9a8348bc23a5b05580d772c8ac8e6a3e7 /sci-chemistry/chooch/files
parentsci-libs/chooch unmasked (diff)
downloadsci-f23c108fbf5496d90d477de6e1fa26acdb109b8b.tar.gz
sci-f23c108fbf5496d90d477de6e1fa26acdb109b8b.tar.bz2
sci-f23c108fbf5496d90d477de6e1fa26acdb109b8b.zip
moved sci-libs/chooch to sci-chemistry/chooch
Diffstat (limited to 'sci-chemistry/chooch/files')
-rw-r--r--sci-chemistry/chooch/files/5.0.2-Makefile.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/sci-chemistry/chooch/files/5.0.2-Makefile.patch b/sci-chemistry/chooch/files/5.0.2-Makefile.patch
new file mode 100644
index 000000000..89eaf95ef
--- /dev/null
+++ b/sci-chemistry/chooch/files/5.0.2-Makefile.patch
@@ -0,0 +1,45 @@
+--- Makefile 2004-10-13 15:17:38.000000000 +0200
++++ Makefile.new 2009-05-12 21:24:48.000000000 +0200
+@@ -21,21 +21,21 @@
+ #INCLUDE = /users/opd14/Gwyndaf/include
+ GSLDIR = /usr/local/lib
+ CGRAPHDIR = /usr/local/lib
+-BINDIR = /home/ge73/bin
++BINDIR = /usr/bin
+ INCLUDE = /usr/local/pgplot
+ #PGPLOTDIR = /home/sci/software/misc/pgplot
+ X11LIBDIR = /usr/X11R6/lib
+ ######################################
+ #
+ CGRAPH = -lcgraph
+-LIBS = -lgsl -lgslcblas -lX11
++LIBS = -lgsl -lgslcblas -lX11 -L/usr/GENTOO_LIBDIR $(PGLIBS) $(CGRAPH) -lm -ldl -lpthread
+ PGLIBS = -lcpgplot -lpgplot
+-EXE = chooch-5.0.2.$(ARCH)
+-EXEPG = chooch-5.0.2-pg.$(ARCH)
++EXE = chooch
++EXEPG = chooch-pg
+ #
+ # How to compile and link
+ #
+-include Makefile.$(ARCH)
++#include Makefile.$(ARCH)
+ #
+ # Basic definitions
+ #
+@@ -51,13 +51,13 @@
+ #
+ #
+ chooch : clean ${OBJECTS} Makefile
+- $(CC) -o ${EXE} ${OBJECTS} $(LDFLAGS)
++ $(CC) $(LDFLAGS) -o ${EXE} ${OBJECTS} $(LIBS)
+
+ chooch-pg :
+ make chooch-with-pgplot "CFLAGS = $(CFLAGS) -DPGPLOT"
+
+ chooch-with-pgplot : clean ${OBJECTS} Makefile
+- $(FC) -v $(CFLAGS) -o ${EXEPG} ${OBJECTS} $(LDFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o ${EXEPG} ${OBJECTS} $(LIBS)
+ #
+ all: chooch chooch-pg
+ #