diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-10-18 04:55:48 (JST) |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-10-18 04:55:48 (JST) |
commit | a58d8a168d29d62425391663dedd6dd49ddc523b (patch) | |
tree | a9dffba1b3dbf9a6d7e445ecd491a41de7191661 /Makefile | |
parent | 2853692a9ee7d0b451096f06e8f752d6551f5245 (diff) | |
download | cgit-a58d8a168d29d62425391663dedd6dd49ddc523b.zip cgit-a58d8a168d29d62425391663dedd6dd49ddc523b.tar.gz |
Makefile: Support OpenBSD just like FreeBSD
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -49,8 +49,8 @@ ifeq ($(uname_O),Cygwin) | |||
49 | NEEDS_LIBICONV = YesPlease | 49 | NEEDS_LIBICONV = YesPlease |
50 | endif | 50 | endif |
51 | 51 | ||
52 | ifeq ($(uname_S),FreeBSD) | 52 | ifeq ($(uname_S),$(filter $(uname_S),FreeBSD OpenBSD)) |
53 | # Apparantly libiconv is installed in /usr/local on FreeBSD | 53 | # Apparantly libiconv is installed in /usr/local on BSD |
54 | LDFLAGS ?= -L/usr/local/lib | 54 | LDFLAGS ?= -L/usr/local/lib |
55 | CFLAGS ?= -I/usr/local/include | 55 | CFLAGS ?= -I/usr/local/include |
56 | NEEDS_LIBICONV = yes | 56 | NEEDS_LIBICONV = yes |