summaryrefslogtreecommitdiff
path: root/emulators/stonx/files/patch-aa
blob: fa6320cbf10b74847ff8a91df18100d4d8127369 (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
--- Makefile.in.orig	1997-05-24 22:49:30.000000000 +0200
+++ Makefile.in	2010-01-22 10:38:08.000000000 +0100
@@ -28,7 +28,7 @@
 #XLIBS=@X_LIBS@ -lvgagl -lvga 
 #SFLAGS=-DUSE_SVGALIB
 
-STONXDIR=/usr/local/lib/STonX
+STONXDIR=${PREFIX}/lib/X11/STonX
 DEF= @def@ -DINLINE=@inline@ -DSTONXDIR=\"$(STONXDIR)\"
 
 # Compiler
@@ -117,10 +117,10 @@
 	$(SCC) @static@ -o $@ $(OBJ) $(MOREOBJ) $(XLIBS) @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@ @xtra@
 
 fnttobdf:	fnttobdf.c
-	$(CC) -o $@ fnttobdf.c $(XLIBS) @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@
+	$(CC) -o $@ fnttobdf.c $(CFLAGS) $(XLIBS) @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@
 
 tosfonts:	tosfonts.c
-	$(CC) -o $@ tosfonts.c $(XLIBS) @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@
+	$(CC) -o $@ tosfonts.c $(CFLAGS) $(XLIBS) @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@
 
 clean:
 	rm -f $(OBJ) $(MOREOBJ) stonx mon.out gmon.out fonts-done.stmp