diff options
Diffstat (limited to 'sci-chemistry/probe/files/2.12.110413-as-needed.patch')
-rw-r--r-- | sci-chemistry/probe/files/2.12.110413-as-needed.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sci-chemistry/probe/files/2.12.110413-as-needed.patch b/sci-chemistry/probe/files/2.12.110413-as-needed.patch new file mode 100644 index 000000000000..95368625505d --- /dev/null +++ b/sci-chemistry/probe/files/2.12.110413-as-needed.patch @@ -0,0 +1,38 @@ + Makefile | 13 ++++++------- + 1 files changed, 6 insertions(+), 7 deletions(-) + +diff --git a/Makefile b/Makefile +index e6a740e..8f74d6a 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,14 +1,12 @@ +-MACHINEFLAGS = +-CFLAGS = $(MACHINEFLAGS) +-LFLAGS = -lm $(MACHINEFLAGS) ++LIBS = -lm + OBJLIST = dots.o abin.o readPDBrecs.o geom3d.o utility.o select.o \ +- parse.o atomprops.o stdconntable.o autobondrot.o ++ parse.o atomprops.o stdconntable.o autobondrot.o hybrid_36_c.o + + .c.o: +- cc -c $*.c $(CFLAGS) ++ $(CC) $(CFLAGS) -c $*.c + + probe: probe.o $(OBJLIST) +- cc -o $@ probe.o $(OBJLIST) $(LFLAGS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ probe.o $(OBJLIST) $(LIBS) + + clean: + @rm -f *.o *.ckp +@@ -30,9 +28,10 @@ parse.o: ./parse.h ./utility.h parse.c + probe.o: ./abin.h ./atomprops.h ./autobondrot.h ./dots.h ./geom3d.h \ + ./parse.h ./probe.h ./readPDBrecs.h ./select.h \ + ./stdconntable.h ./utility.h probe.c +-readPDBrecs.o: ./geom3d.h ./readPDBrecs.h ./utility.h readPDBrecs.c ++readPDBrecs.o: ./geom3d.h ./readPDBrecs.h ./utility.h ./hybrid_36_c.h readPDBrecs.c + select.o: ./abin.h ./atomprops.h ./geom3d.h ./parse.h ./select.h \ + ./stdconntable.h ./utility.h select.c + stdconntable.o: ./stdconntable.h stdconntable.c + utility.o: utility.c ++hybrid_36_c.o: ./hybrid_36_c.h hybrid_36_c.c + # DO NOT DELETE THIS 2nd LINE -- make depend uses it |