summaryrefslogtreecommitdiff
path: root/lib/fontconfig/Makefile.inc
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2013-03-09 14:34:47 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2013-03-09 14:34:47 +0000
commite18c4ea24ad92ea4dd3afea7e9a3a583f143cacd (patch)
tree1395cd836383656bc346cbfdfcee87b717874b11 /lib/fontconfig/Makefile.inc
parent8099430a36efda53ab865e1edfafa9af32bc3cc5 (diff)
Update to fontconfig 2.10.91 + a few local fixes.
Move to a new BSD make based build system since fontconfig's build system has become too dependant on GNU make. Requested by ajacoutot@, tested by many back in january.
Diffstat (limited to 'lib/fontconfig/Makefile.inc')
-rw-r--r--lib/fontconfig/Makefile.inc19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/fontconfig/Makefile.inc b/lib/fontconfig/Makefile.inc
new file mode 100644
index 000000000..5f0c63aa9
--- /dev/null
+++ b/lib/fontconfig/Makefile.inc
@@ -0,0 +1,19 @@
+# $OpenBSD: Makefile.inc,v 1.1 2013/03/09 14:34:40 matthieu Exp $
+
+X11BASE ?= /usr/X11R6
+
+FC_CACHEDIR = /var/cache/fontconfig
+BASECONFIGDIR = /etc/fonts
+MANDIR = ${X11BASE}/man/man
+
+CFLAGS += -Wall -Wpointer-arith -Wstrict-prototypes \
+ -Wmissing-prototypes -Wmissing-declarations \
+ -Wnested-externs -fno-strict-aliasing
+CFLAGS += -DHAVE_CONFIG_H
+CFLAGS += -I${FONTCONFIG} \
+ -I${X11BASE}/include -I${X11BASE}/include/freetype2 \
+ -I${.CURDIR}/../src -I${FONTCONFIG}/src \
+ -I${.CURDIR}/../common \
+ -I${.CURDIR}
+
+NOPROFILE =