From 74142a151a6f4a3a7950e7afce23e4476b2dfedb Mon Sep 17 00:00:00 2001 From: Brandon Rhodes Date: Thu, 24 Jun 2021 07:38:46 -0400 Subject: [PATCH] =?UTF-8?q?Per=20#15=20and=20mailing=20list,=20remove=20?= =?UTF-8?q?=E2=80=9C-lXp=E2=80=9D=20from=20libs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit An old Makefile comment, also removed here, claims “some Motif libraries use the printing frame buffer and so need -lXp” — but the library no longer exists on modern systems, and printing works fine without it. --- GUI/xephem/Makefile | 3 +-- GUI/xephem/descrip.mms | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/GUI/xephem/Makefile b/GUI/xephem/Makefile index 6fa4405..4aa7b0a 100644 --- a/GUI/xephem/Makefile +++ b/GUI/xephem/Makefile @@ -3,7 +3,6 @@ # Sample compile and link flags for a few systems. Find your system or similar # and uncomment as required. The default is for linux or Mac OS X systems. # The only real challenge usually is to set the MOTIFI and MOTIFL macros. -# Note that some Motif libraries use the printing frame buffer and so need -lXp. # The basic idea to build XEphem is to first go compile the libraries in # ../../lib* then come back here and compile and link all the *.c files into @@ -34,7 +33,7 @@ CC = gcc CLDFLAGS = -g CFLAGS = $(LIBINC) $(CLDFLAGS) -O2 -Wall -I$(MOTIFI) -I/opt/X11/include LDFLAGS = $(LIBLNK) $(CLDFLAGS) -L$(MOTIFL) -L/opt/X11/lib -XLIBS = -lXm -lXp -lXt -lXext -lXmu -lX11 +XLIBS = -lXm -lXt -lXext -lXmu -lX11 LIBS = $(XLIBS) $(LIBLIB) -lm # static linking on Apple using X11 libs from ports diff --git a/GUI/xephem/descrip.mms b/GUI/xephem/descrip.mms index d6b5e56..f32bd1f 100755 --- a/GUI/xephem/descrip.mms +++ b/GUI/xephem/descrip.mms @@ -7,7 +7,6 @@ # idea to build xephem is to first go compile the libraries in ../../libastro, # ../../libip, ../../liblilxml and ../../libjpegd then come back here and # compile and link all the *.c files into one executable, xephem. -# Note: some motif libraries now use the printing frame buffer and need -lXp # -I and -L flags to find required supporting libraries @@ -25,7 +24,7 @@ CC = cc #CLDFLAGS = -ffast-math CFLAGS = $(LIBINC) LDFLAGS = -#XLIBS = -lXm -lXp -lXt -lXext -lSM -lICE -lXmu -lX11 +#XLIBS = -lXm -lXt -lXext -lSM -lICE -lXmu -lX11 #LIBS = $(XLIBS) $(LIBLIB) -lm # MKS Enterprise toolkit