mirror of
https://git.freebsd.org/ports.git
synced 2025-07-02 10:00:37 -04:00
PR: 235916 Submitted by: Oleh Hushchenkov <o.hushchenkov@gmail.com> Approved by: maintainer timeout (solene@bsd.zplay.eu, >7 weeks)
26 lines
681 B
Text
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
|