|
Lines 1-6
Link Here
|
| 1 |
--- Makefile.orig 2017-10-27 15:25:56 UTC |
1 |
--- Makefile.orig 2019-01-26 13:54:40 UTC |
| 2 |
+++ Makefile |
2 |
+++ Makefile |
| 3 |
@@ -3,15 +3,14 @@ VERSION = 24 |
3 |
@@ -3,11 +3,11 @@ version = 25 |
| 4 |
srcdir = . |
4 |
srcdir = . |
| 5 |
VPATH = $(srcdir) |
5 |
VPATH = $(srcdir) |
| 6 |
|
6 |
|
|
Lines 9-19
Link Here
|
| 9 |
+PREFIX ?= /usr/local |
9 |
+PREFIX ?= /usr/local |
| 10 |
+MANPREFIX = $(PREFIX)/man |
10 |
+MANPREFIX = $(PREFIX)/man |
| 11 |
|
11 |
|
| 12 |
-CC = cc |
|
|
| 13 |
-DEF_CFLAGS = -std=c99 -Wall -pedantic |
| 14 |
+DEF_CFLAGS = -std=c99 -Wall -pedantic $$(pkg-config --cflags xft) |
| 15 |
DEF_CPPFLAGS = -I/usr/include/freetype2 |
| 16 |
|
| 17 |
# autoreload backend: inotify/nop |
12 |
# autoreload backend: inotify/nop |
| 18 |
-AUTORELOAD = inotify |
13 |
-AUTORELOAD = inotify |
| 19 |
+AUTORELOAD = nop |
14 |
+AUTORELOAD = nop |
|
Lines 20-22
Link Here
|
| 20 |
|
15 |
|
| 21 |
# enable features requiring giflib (-lgif) |
16 |
# enable features requiring giflib (-lgif) |
| 22 |
HAVE_GIFLIB = 1 |
17 |
HAVE_GIFLIB = 1 |
|
|
18 |
@@ -17,7 +17,7 @@ HAVE_LIBEXIF = 1 |
| 19 |
|
| 20 |
cflags = -std=c99 -Wall -pedantic $(CFLAGS) |
| 21 |
cppflags = -I. $(CPPFLAGS) -D_XOPEN_SOURCE=700 -DHAVE_GIFLIB=$(HAVE_GIFLIB) \ |
| 22 |
- -DHAVE_LIBEXIF=$(HAVE_LIBEXIF) -I/usr/include/freetype2 |
| 23 |
+ -DHAVE_LIBEXIF=$(HAVE_LIBEXIF) $$(pkg-config --cflags xft) |
| 24 |
|
| 25 |
lib_exif_0 = |
| 26 |
lib_exif_1 = -lexif |