Krolyxon
Commit 0d202f0

Branches

Refs →

nsxiv0d202f0

config.mk: add comments for OpenBSD users

Author
NRK
Date
2022-04-22 03:16 +0600
Committer
N-R-K · 2022-05-30 12:07 +0000
Parent
197afce
Commit
0d202f0fe182b87c00a6509af5cc6e7a59716cfd

+10 −1

2 files changed

  1. M Makefile +1 −1
  2. M config.mk +9 −0
M Makefile View
@@ -13,7 +13,7 @@ lib_gif_1 = -lgif
1313 lib_webp_0 =
1414 lib_webp_1 = -lwebpdemux -lwebp
1515
16−CPPFLAGS = -D_XOPEN_SOURCE=700 \
16+CPPFLAGS = -D_XOPEN_SOURCE=700 $(INCLUDES) \
1717 -DHAVE_LIBGIF=$(HAVE_LIBGIF) -DHAVE_LIBEXIF=$(HAVE_LIBEXIF) \
1818 -DHAVE_LIBWEBP=$(HAVE_LIBWEBP) -DHAVE_LIBFONTS=$(HAVE_LIBFONTS) \
1919 -DHAVE_INOTIFY=$(HAVE_INOTIFY) $(inc_fonts_$(HAVE_LIBFONTS))
M config.mk View
@@ -23,3 +23,12 @@ CFLAGS = -std=c99 -Wall -pedantic
2323
2424 # icons that will be installed via `make icon`
2525 ICONS = 16x16.png 32x32.png 48x48.png 64x64.png 128x128.png
26+
27+# Uncomment on OpenBSD
28+# HAVE_INOTIFY = 0
29+# lib_fonts_bsd_0 =
30+# lib_fonts_bsd_1 = -lfreetype
31+# inc_fonts_bsd_0 =
32+# inc_fonts_bsd_1 = -I/usr/X11R6/include/freetype2
33+# LDLIBS = -lz -L/usr/local/lib -L/usr/X11R6/lib $(lib_fonts_bsd_$(HAVE_LIBFONTS))
34+# INCLUDES = -I/usr/local/include -I/usr/X11R6/include $(inc_fonts_bsd_$(HAVE_LIBFONTS))