]> git.pld-linux.org Git - packages/xephem.git/blob - xephem-makefile.patch
63877197dd27f3b3cf479267a114092896597249
[packages/xephem.git] / xephem-makefile.patch
1 --- xephem-3.7.7/GUI/xephem/Makefile.orig       2015-08-09 23:36:50.000000000 +0200
2 +++ xephem-3.7.7/GUI/xephem/Makefile    2018-12-19 21:10:25.456956449 +0100
3 @@ -10,8 +10,8 @@
4  # one executable, xephem.
5  
6  # These -I and -L flags point to the supporting XEphem libraries
7 -LIBINC = -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz
8 -LIBLNK = -L../../libastro -L../../libip -L../../liblilxml -L../../libjpegd -L../../libpng -L../../libz
9 +LIBINC = -I../../libastro -I../../libip -I../../liblilxml
10 +LIBLNK = -L../../libastro -L../../libip -L../../liblilxml
11 -LIBLIB = -lastro -lip -llilxml -ljpegd -lpng -lz
12 +LIBLIB = -lastro -lip -llilxml -ljpeg -lpng -lz
13  
14  # MOTIFI is the directory containing the Xm directory of include files.
15 @@ -32,7 +32,7 @@
16  # for linux and Apple OS X
17  CC = gcc
18  CLDFLAGS = -g
19 -CFLAGS = $(LIBINC) $(CLDFLAGS) -O2 -Wall -I$(MOTIFI) -I/opt/X11/include
20 +CFLAGS = $(LIBINC) $(CLDFLAGS) -Wall -I$(MOTIFI) -I/opt/X11/include
21  LDFLAGS = $(LIBLNK) $(CLDFLAGS) -L$(MOTIFL) -L/opt/X11/lib
22  XLIBS = -lXm -lXp -lXt -lXext -lXmu -lX11
23  LIBS = $(XLIBS) $(LIBLIB) -lm
24 @@ -199,8 +199,5 @@
25         cd ../../libip; make
26 -       cd ../../libjpegd; make
27         cd ../../liblilxml; make
28 -       cd ../../libpng; make
29 -       cd ../../libz; make
30  
31  clean:
32         rm -fr *.o ../../lib*/*.[ao]
This page took 0.023824 seconds and 2 git commands to generate.