* [gentoo-commits] gentoo-x86 commit in sci-chemistry/easychem/files: 0.6-gentoo.patch
@ 2010-10-03 8:04 Justin Lecher (jlec)
0 siblings, 0 replies; 2+ messages in thread
From: Justin Lecher (jlec) @ 2010-10-03 8:04 UTC (permalink / raw
To: gentoo-commits
jlec 10/10/03 08:04:15
Added: 0.6-gentoo.patch
Log:
Respecting LDFLAGS now, 333847; Prefix ready and keyworded for ~-linux
(Portage version: 2.2_rc88/cvs/Linux x86_64)
Revision Changes Path
1.1 sci-chemistry/easychem/files/0.6-gentoo.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/easychem/files/0.6-gentoo.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/easychem/files/0.6-gentoo.patch?rev=1.1&content-type=text/plain
Index: 0.6-gentoo.patch
===================================================================
diff --git a/Makefile.linux b/Makefile.linux
index 6638394..5da56b0 100644
--- a/Makefile.linux
+++ b/Makefile.linux
@@ -1,5 +1,5 @@
# The C compiler
-CC=gcc
+CC ?= gcc
# The following line must be uncommented if you want to specify a place
# where the 'gs' (or 'pstoedit') program is.
@@ -25,11 +25,10 @@ GTK_LIBS=`pkg-config --libs gtk+-2.0`
# The list of important files
OBJECTS=auxi.o bonds.o easychem.o export.o dialogs.o detect.o library.o drawing.o
-all: easychem po/
+all: easychem po
-easychem: postscript/ graph/ $(OBJECTS)
- $(CC) -o easychem $(OBJECTS) $(GTK_LIBS) $(C_FLAGS)
- strip easychem
+easychem: postscript graph $(OBJECTS)
+ $(CC) $(C_FLAGS) $(LDFLAGS) -o easychem $(OBJECTS) $(GTK_LIBS)
clean: FORCE
-cd graph; make clean
@@ -37,7 +36,7 @@ clean: FORCE
-cd po; make clean
-rm $(OBJECTS) easychem
-export.o: export.c common.h bonds.h postscript/
+export.o: export.c common.h bonds.h postscript
$(CC) $(GTK_FLAGS) $(C_FLAGS) -c export.c
bonds.o: bonds.c common.h bonds.h
$(CC) $(GTK_FLAGS) $(C_FLAGS) -c bonds.c
@@ -49,20 +48,22 @@ library.o: library.c common.h library.h
$(CC) $(GTK_FLAGS) $(C_FLAGS) -c library.c
drawing.o: drawing.c common.h drawing.h
$(CC) $(GTK_FLAGS) $(C_FLAGS) -c drawing.c
-dialogs.o: dialogs.c common.h dialogs.h graph/
+dialogs.o: dialogs.c common.h dialogs.h graph
$(CC) $(GTK_FLAGS) $(C_FLAGS) -c dialogs.c
detect.o: detect.c common.h detect.h
$(CC) $(GTK_FLAGS) $(C_FLAGS) -c detect.c
# The rules for subdirectories
-graph/: FORCE
- cd graph; make all
+graph:
+ +make -C $@
-postscript/: FORCE
- cd postscript; make all
+postscript:
+ +make -C $@
-po/: FORCE
- cd po; make all
+po:
+ +make -C $@
# This is used to force an update
FORCE:
+
+.PHONY: graph postscript po
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sci-chemistry/easychem/files: 0.6-gentoo.patch
@ 2012-04-29 10:08 Justin Lecher (jlec)
0 siblings, 0 replies; 2+ messages in thread
From: Justin Lecher (jlec) @ 2012-04-29 10:08 UTC (permalink / raw
To: gentoo-commits
jlec 12/04/29 10:08:39
Modified: 0.6-gentoo.patch
Log:
sci-chemistry/easychem: Add missing lib to link with gold
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Revision Changes Path
1.2 sci-chemistry/easychem/files/0.6-gentoo.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/easychem/files/0.6-gentoo.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/easychem/files/0.6-gentoo.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/easychem/files/0.6-gentoo.patch?r1=1.1&r2=1.2
Index: 0.6-gentoo.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/easychem/files/0.6-gentoo.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- 0.6-gentoo.patch 3 Oct 2010 08:04:15 -0000 1.1
+++ 0.6-gentoo.patch 29 Apr 2012 10:08:39 -0000 1.2
@@ -20,7 +20,7 @@
- $(CC) -o easychem $(OBJECTS) $(GTK_LIBS) $(C_FLAGS)
- strip easychem
+easychem: postscript graph $(OBJECTS)
-+ $(CC) $(C_FLAGS) $(LDFLAGS) -o easychem $(OBJECTS) $(GTK_LIBS)
++ $(CC) $(C_FLAGS) $(LDFLAGS) -o easychem $(OBJECTS) $(GTK_LIBS) -lm
clean: FORCE
-cd graph; make clean
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-29 10:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-03 8:04 [gentoo-commits] gentoo-x86 commit in sci-chemistry/easychem/files: 0.6-gentoo.patch Justin Lecher (jlec)
-- strict thread matches above, loose matches on Subject: below --
2012-04-29 10:08 Justin Lecher (jlec)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox