summaryrefslogtreecommitdiff
path: root/news/slrnface/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'news/slrnface/files/patch-Makefile')
-rw-r--r--news/slrnface/files/patch-Makefile29
1 files changed, 19 insertions, 10 deletions
diff --git a/news/slrnface/files/patch-Makefile b/news/slrnface/files/patch-Makefile
index 047bb3be7ae1..423390c500d1 100644
--- a/news/slrnface/files/patch-Makefile
+++ b/news/slrnface/files/patch-Makefile
@@ -1,20 +1,29 @@
---- Makefile.orig Mon Dec 25 02:38:17 2000
-+++ Makefile Thu Aug 22 21:28:44 2002
-@@ -1,13 +1,12 @@
+--- Makefile.orig Sat Aug 24 23:56:21 2002
++++ Makefile Fri Sep 6 14:46:38 2002
+@@ -1,21 +1,19 @@
-CC = cc
+-
-X_INCL = # location of X include files, if needed
+X_INCL = -I${X11BASE}/include # location of X include files, if needed
+
+ # A lot of popular terminals are brain damaged, so we cannot use X
+ # resources for configuration. In those cases Xt routines won't even be
+ # called, so you might want to use lazy loading for Xt if your OS supports it.
+
X_LIBS = -lXt -lX11 # X libs
-XF_LIB = -L/usr/local/lib -lcompface # compface library
--C_FLAGS = -O -D_REENTRANT
-+XF_LIB = -L${X11BASE}/lib -L${LOCALBASE}/lib -lcompface # compface library
-+C_FLAGS+= -O -D_REENTRANT
+-C_FLAGS = -O
++XF_LIB = -L${X11BASE}/lib -lcompface # compface library
++C_FLAGS = #-O
+
+ prefix = /usr/local
- OS_DEFS = #-DLINUX_SUX
+ # No need to configure anything below.
- CFLAGS = $(C_FLAGS) $(OS_DEFS) $(X_INCL)
--LDFLAGS = $(XF_LIB) $(X_LIBS) -lpthread
-+LDFLAGS = $(XF_LIB) $(X_LIBS) "-pthread"
+-CFLAGS = $(C_FLAGS) $(X_INCL)
+-LDFLAGS = $(XF_LIB) $(X_LIBS)
++CFLAGS += $(C_FLAGS) $(X_INCL)
++LDFLAGS += $(XF_LIB) $(X_LIBS)
slrnface: slrnface.c
$(CC) $(CFLAGS) -o slrnface slrnface.c $(LDFLAGS)