]> gitweb.ps.run Git - ps-cgit/blobdiff - Makefile
ui-shared: use placeholder for empty commit subject
[ps-cgit] / Makefile
index 1e341295f64fc916595ee82f1c41ca24754c1ef2..f4c5b8a73f5e69723f557f47200d9e600a09bda1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -49,6 +49,13 @@ ifeq ($(uname_O),Cygwin)
        NEEDS_LIBICONV = YesPlease
 endif
 
+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
+endif
+
 #
 # Let the user override the above settings.
 #