xephem/xephem-3.7.3-libXm.patch

22 lines
712 B
Diff

diff -Nru xephem-3.7.3.orig/GUI/xephem/Makefile xephem-3.7.3/GUI/xephem/Makefile
--- xephem-3.7.3.orig/GUI/xephem/Makefile 2008-08-09 21:14:44.000000000 +0200
+++ xephem-3.7.3/GUI/xephem/Makefile 2009-04-14 03:33:50.000000000 +0200
@@ -26,7 +26,7 @@
MOTIFI = /usr/X11R6/include
endif
ifndef MOTIFL
-MOTIFL = /usr/X11R6/lib
+MOTIFL = /usr/lib
endif
# for linux and pure ppc Apple OS X
@@ -34,7 +34,7 @@
CLDFLAGS = -g
CFLAGS = $(LIBINC) $(CLDFLAGS) -O2 -Wall -I$(MOTIFI) -I/usr/X11R6/include
LDFLAGS = $(LIBLNK) $(CLDFLAGS) -L$(MOTIFL) -L/usr/X11R6/lib
-XLIBS = $(MOTIFL)/libXm.a -lXp -lXt -lXext -lXmu -lX11
+XLIBS = -lXm -lXp -lXt -lXext -lXmu -lX11
LIBS = $(XLIBS) $(LIBLIB) -lm
.PRECIOUS: xephem