summaryrefslogtreecommitdiff
path: root/x11/xscreensaver/patches/patch-aa
blob: bfc220eeeea99f950876f8ec26ee04ba4c26b53c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-aa,v 1.6 2000/07/10 19:57:10 tron Exp $

--- driver/Makefile.in.orig	Mon Jul 10 21:54:54 2000
+++ driver/Makefile.in	Mon Jul 10 21:55:02 2000
@@ -140,8 +140,8 @@
 DEMO_SRCS	= prefs.c remote.c $(DEMO_UTIL_SRCS)
 DEMO_OBJS	= prefs.o remote.o $(DEMO_UTIL_OBJS)
 
-SAVER_LIBS	= $(LIBS) $(X_LIBS) @SAVER_LIBS@ $(GL_LIBS) \
-		  $(X_PRE_LIBS) -lXt -lX11 -lXext $(X_EXTRA_LIBS) \
+SAVER_LIBS	= $(LIBS) $(X_LIBS) @SAVER_LIBS@ $(GL_LIBS) -lXt \
+		  $(X_PRE_LIBS) -lX11 -lXext $(X_EXTRA_LIBS) \
 		  $(PASSWD_LIBS)
 
 CMD_LIBS	= $(LIBS) $(X_LIBS) \
@@ -344,11 +344,11 @@
 
 install-kde:
 	@src="$(srcdir)/xscreensaver.kss" ;				      \
-	if [ "$$KDEDIR" != "" ]; then					      \
-	  dir="$(install_prefix)$$KDEDIR/bin" ;				      \
+	if true; then					      \
+	  dir="$(bindir)" ;				      \
 	  dest="$$dir/xscreensaver.kss" ;				      \
-	  echo $(INSTALL_PROGRAM) $$src $$dest ;			      \
-	  if $(INSTALL_PROGRAM) $$src $$dest ; then			      \
+	  echo $(BSD_INSTALL_SCRIPT) $$src $$dest ;			      \
+	  if $(BSD_INSTALL_SCRIPT) $$src $$dest ; then			      \
 	    true ;							      \
 	  else								      \
 	    e=echo ;							      \