aboutsummaryrefslogtreecommitdiff
path: root/misc/figlet/files/patch-Makefile
blob: c879d3d10d04de57985f7e05d657706f5ae73012 (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
--- Makefile.orig	2011-01-26 18:36:21.000000000 +0800
+++ Makefile	2011-07-21 09:58:28.753010869 +0800
@@ -19,8 +19,8 @@
 SHELL = /bin/sh
 
 # The C compiler and linker to use
-CC	= gcc
-CFLAGS	= -g -O2 -Wall
+#CC	= gcc
+#CFLAGS	= -g -O2 -Wall
 LD	= gcc
 LDFLAGS =
 
@@ -29,7 +29,7 @@
 XCFLAGS	= -DTLF_FONTS
 
 # Where to install files
-prefix	= /usr/local
+#prefix	= /usr/local
 
 # Where the executables should be put
 BINDIR	= $(prefix)/bin
@@ -38,7 +38,7 @@
 MANDIR	= $(prefix)/man
 
 # Where figlet will search first for fonts (the ".flf" files).
-DEFAULTFONTDIR = $(prefix)/share/figlet
+DEFAULTFONTDIR = $(datadir)
 # Use this definition if you can't put things in $(prefix)/share/figlet
 #DEFAULTFONTDIR = fonts