ports/graphics/sxiv/files/patch-Makefile
Steve Wills ef87bdfebd graphics/sxiv: update to 25
PR:		235916
Submitted by:	Oleh Hushchenkov <o.hushchenkov@gmail.com>
Approved by:	maintainer timeout (solene@bsd.zplay.eu, >7 weeks)
2019-04-12 16:47:41 +00:00

26 lines
681 B
Text

--- Makefile.orig 2019-01-26 13:54:40 UTC
+++ Makefile
@@ -3,11 +3,11 @@ version = 25
srcdir = .
VPATH = $(srcdir)
-PREFIX = /usr/local
-MANPREFIX = $(PREFIX)/share/man
+PREFIX ?= /usr/local
+MANPREFIX = $(PREFIX)/man
# autoreload backend: inotify/nop
-AUTORELOAD = inotify
+AUTORELOAD = nop
# enable features requiring giflib (-lgif)
HAVE_GIFLIB = 1
@@ -17,7 +17,7 @@ HAVE_LIBEXIF = 1
cflags = -std=c99 -Wall -pedantic $(CFLAGS)
cppflags = -I. $(CPPFLAGS) -D_XOPEN_SOURCE=700 -DHAVE_GIFLIB=$(HAVE_GIFLIB) \
- -DHAVE_LIBEXIF=$(HAVE_LIBEXIF) -I/usr/include/freetype2
+ -DHAVE_LIBEXIF=$(HAVE_LIBEXIF) $$(pkg-config --cflags xft)
lib_exif_0 =
lib_exif_1 = -lexif