summaryrefslogtreecommitdiff
path: root/science/chemtool-devel/files
diff options
context:
space:
mode:
Diffstat (limited to 'science/chemtool-devel/files')
-rw-r--r--science/chemtool-devel/files/patch-Makefile.in20
-rw-r--r--science/chemtool-devel/files/patch-configure22
2 files changed, 22 insertions, 20 deletions
diff --git a/science/chemtool-devel/files/patch-Makefile.in b/science/chemtool-devel/files/patch-Makefile.in
deleted file mode 100644
index 192144e2a79d..000000000000
--- a/science/chemtool-devel/files/patch-Makefile.in
+++ /dev/null
@@ -1,20 +0,0 @@
---- Makefile.in.orig Thu Aug 28 07:25:31 2003
-+++ Makefile.in Sat Oct 4 11:16:42 2003
-@@ -5,7 +5,7 @@
- mandir=@mandir@
- kdedir=@kdemimedir@
- gnomedir=@gnomemimedir@
--CFLAGS=-O2 -Wall -Wunused -Wuninitialized -I. `gtk-config --cflags` @DEFS@ -DLOCALEDIR=\"${localedir}\"
-+CFLAGS= @CFLAGS@ -I%%LOCALBASE%%/include -I%%LOCALBASE%%/include/libEMF -I. `gtk-config --cflags` @DEFS@ -DLOCALEDIR=\"${localedir}\"
-
- CC=@CC@
- CP=/bin/cp
-@@ -16,7 +16,7 @@
- SRCS = main.c chemproc.c graph.c draw.c inout.c undo.c @MYGTKSRCS@
- OBJS = main.o chemproc.o graph.o draw.o inout.o undo.o @MYGTKOBJS@
-
--SYS_LIBRARIES = `gtk-config --libs` @EMFLIBS@ -lm
-+SYS_LIBRARIES = `gtk-config --libs` -L%%LOCALBASE%%/lib @EMFLIBS@ -lm
-
-
- all: chemtool cht
diff --git a/science/chemtool-devel/files/patch-configure b/science/chemtool-devel/files/patch-configure
new file mode 100644
index 000000000000..d2721910d5fb
--- /dev/null
+++ b/science/chemtool-devel/files/patch-configure
@@ -0,0 +1,22 @@
+--- configure.in~ Sun Jul 17 01:15:14 2005
++++ configure.in Sun Nov 20 11:30:35 2005
+@@ -252,7 +252,7 @@
+ if test x$enable_emf = xyes; then
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(EMF)
+- EMFLIBS="-lEMF -lstdc++"
++ EMFLIBS="-L%%LOCALBASE%%/lib -lEMF -lstdc++"
+ else
+ AC_MSG_RESULT(no)
+ EMFLIBS=""
+--- configure~ Sun Nov 20 11:29:37 2005
++++ configure Sun Nov 20 11:31:32 2005
+@@ -2859,7 +2859,7 @@
+ #define EMF 1
+ EOF
+
+- EMFLIBS="-lEMF -lstdc++"
++ EMFLIBS="-L%%LOCALBASE%%/lib -lEMF -lstdc++"
+ else
+ echo "$ac_t""no" 1>&6
+ EMFLIBS=""