preload-hacks: Some patches to make it work.
[termux-packages] / packages / figlet / makefile.patch
CommitLineData
59f0d218
FF
1diff -u -r ../figlet-2.2.5/Makefile ./Makefile
2--- ../figlet-2.2.5/Makefile 2012-06-01 14:51:09.000000000 +0200
3+++ ./Makefile 2014-08-03 02:25:17.846078638 +0200
4@@ -18,24 +18,18 @@
5 # for changing this is if sh is not in the same place.
6 SHELL = /bin/sh
7
8-# The C compiler and linker to use
9-CC = gcc
10-CFLAGS = -g -O2 -Wall
11-LD = gcc
12-LDFLAGS =
13-
14 # Feature flags:
15 # define TLF_FONTS to use TOIlet TLF fonts
16 XCFLAGS = -DTLF_FONTS
17
18 # Where to install files
19-prefix = /usr/local
20+prefix = @TERMUX_PREFIX@
21
22 # Where the executables should be put
23 BINDIR = $(prefix)/bin
24
25 # Where the man page should be put
26-MANDIR = $(prefix)/man
27+MANDIR = $(prefix)/share/man
28
29 # Where figlet will search first for fonts (the ".flf" files).
30 DEFAULTFONTDIR = $(prefix)/share/figlet