aboutsummaryrefslogtreecommitdiff
path: root/games/yadex/files/patch-GNUmakefile
blob: 394ea892ccbc459a343c2505a20a4e103f9f4346 (plain) (blame)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
--- GNUmakefile.orig	Sun Dec 28 23:23:56 2003
+++ GNUmakefile	Mon Mar 21 16:31:11 2005
@@ -67,8 +67,8 @@
     X11LIBDIR     = /usr/openwin/lib
     X11INCLUDEDIR = /usr/openwin/include
   else
-    X11LIBDIR     = /usr/X11R6/lib
-    X11INCLUDEDIR = /usr/X11R6/include
+    X11LIBDIR     = $(X11BASE)/lib
+    X11INCLUDEDIR = $(X11BASE)/include
   endif
 endif
 
@@ -79,13 +79,13 @@
 #CXX =
 
 # Options used when compiling Atclib.
-CFLAGS = -O
+#CFLAGS = -O
 
 # Options used when compiling and linking Yadex.
 # ld is invoked through the C++ compiler so
 # LDFLAGS should not contain options that mean
 # something to the C++ compiler.
-CXXFLAGS = -O
+#CXXFLAGS = -O
 #CXXFLAGS += -DWHITE_BACKGROUND
 #LDFLAGS  =
 
@@ -395,12 +395,10 @@
 	@scripts/mkinstalldirs $(MANDIR)
 	@scripts/mkinstalldirs $(MANDIR)/man6
 	@scripts/mkinstalldirs $(SHAREDIR)
-	$(OBJDIR)/install -m 755 $(OBJDIR)/yadex $(BINDIR)/yadex-$(VERSION)
 	rm -f $(BINDIR)/yadex
-	ln -s yadex-$(VERSION) $(BINDIR)/yadex
-	$(OBJDIR)/install -m 644 doc/yadex.6 $(MANDIR)/man6/yadex-$(VERSION).6
-	rm -f $(MANDIR)/man6/yadex.6
-	ln -s yadex-$(VERSION).6 $(MANDIR)/man6/yadex.6
+	$(OBJDIR)/install -m 755 $(OBJDIR)/yadex $(BINDIR)/yadex
+	rm -f $(MANDIR)/man6/yadex.6*
+	$(OBJDIR)/install -m 644 doc/yadex.6 $(MANDIR)/man6/yadex.6
 	$(OBJDIR)/install -m 644 -d $(SHAREDIR) $(YGD)
 	$(OBJDIR)/install -m 644 -d $(ETCDIR) yadex.cfg
 	@echo "---------------------------------------------------------------"