summaryrefslogtreecommitdiff
path: root/games/xboard/patches/patch-aa
blob: d129f59d297952484b2ca55cc0751732c75a03ac (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
32
33
34
35
36
37
$NetBSD: patch-aa,v 1.3 2000/09/15 15:53:16 jlam Exp $

--- Makefile.in.orig	Sun Aug 15 21:36:44 1999
+++ Makefile.in
@@ -21,7 +21,7 @@
 
 CC = @CC@
 CFLAGS = @CFLAGS@ -DINFODIR=\"$(infodir)\"
-ALL_CFLAGS = -I. -I$(srcdir) @X_CFLAGS@ @CONF_CFLAGS@ $(CFLAGS)
+ALL_CFLAGS = -I. -I$(srcdir) @CPPFLAGS@ @X_CFLAGS@ @CONF_CFLAGS@ $(CFLAGS)
 DEFINES = @DEFS@
 INSTALL = @INSTALL@
 INSTALL_DATA = @INSTALL_DATA@
@@ -31,7 +31,7 @@
 LEX = @LEX@
 LEXFLAGS = 
 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
-LIBS = @X_LIBS@ -lXaw @PRE_XMULIB@ -lXmu @POST_XMULIB@ -lXt -lXext \
+LIBS = @X_LIBS@ @XAW_LIBS@ @PRE_XMULIB@ -lXmu @POST_XMULIB@ -lXt -lXext \
 	@X_PRE_LIBS@ -lX11 @X_EXTRA_LIBS@ @LIBS@ -lm
 NROFF = @NROFF@
 NROFFFLAGS = @NROFFFLAGS@
@@ -62,10 +62,10 @@
 
 install: installdirs xboard zic2xpm cmail pxboard xboard.man cmail.man \
 		zic2xpm.man
-	$(INSTALL_PROGRAM) -s xboard $(bindir)/xboard
-	$(INSTALL_PROGRAM) -s zic2xpm $(bindir)/zic2xpm
-	$(INSTALL_PROGRAM) cmail $(bindir)/cmail
-	$(INSTALL_PROGRAM) $(srcdir)/pxboard $(bindir)/pxboard
+	$(INSTALL_PROGRAM) xboard $(bindir)/xboard
+	$(INSTALL_PROGRAM) zic2xpm $(bindir)/zic2xpm
+	$(BSD_INSTALL_SCRIPT) cmail $(bindir)/cmail
+	$(BSD_INSTALL_SCRIPT) $(srcdir)/pxboard $(bindir)/pxboard
 	$(INSTALL_DATA) $(srcdir)/xboard.man $(man6dir)/xboard$(man6ext)
 	$(INSTALL_DATA) $(srcdir)/cmail.man $(man6dir)/cmail$(man6ext)
 	$(INSTALL_DATA) $(srcdir)/zic2xpm.man $(man6dir)/zic2xpm$(man6ext)