about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2012-10-17 21:55:48 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2012-10-17 21:55:48 +0200
commita58d8a168d29d62425391663dedd6dd49ddc523b (patch)
treea9dffba1b3dbf9a6d7e445ecd491a41de7191661
parentMakefile: support FreeBSD libiconv paths (diff)
downloadcgit-pink-a58d8a168d29d62425391663dedd6dd49ddc523b.tar.gz
cgit-pink-a58d8a168d29d62425391663dedd6dd49ddc523b.zip
Makefile: Support OpenBSD just like FreeBSD
Diffstat (limited to '')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b95cee4..f4c5b8a 100644
--- a/Makefile
+++ b/Makefile
@@ -49,8 +49,8 @@ ifeq ($(uname_O),Cygwin)
 	NEEDS_LIBICONV = YesPlease
 endif
 
-ifeq ($(uname_S),FreeBSD)
-	# Apparantly libiconv is installed in /usr/local on FreeBSD
+ifeq ($(uname_S),$(filter $(uname_S),FreeBSD OpenBSD))
+	# Apparantly libiconv is installed in /usr/local on BSD
 	LDFLAGS ?= -L/usr/local/lib
 	CFLAGS ?= -I/usr/local/include
 	NEEDS_LIBICONV = yes
8cb55a04973f1be6d5de16177f77a3ab7518&follow=1'>Lighten dark whiteJune McEnroe 2019-07-25Add png.3 man pageJune McEnroe 2019-07-25Use scheme to style HTMLsJune McEnroe 2019-07-25Don't match comments in strings in makeJune McEnroe 2019-07-25Generate index.html with links from bin.7June McEnroe 2019-07-24Warn when date has changedJune McEnroe 2019-07-24Add whenJune McEnroe 2019-07-24Remove histedit from bitJune McEnroe