mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
INSTALL: append /usr/X11R6/include and /usr/X11R6/include/freetype2 to
X11 headers detection, so that enable fontsrv build on OpenBSD. Change-Id: I2f3f766339a9f8beed647dfbb19a588d1825732a Reviewed-on: https://plan9port-review.googlesource.com/1290 Reviewed-by: Russ Cox <rsc@google.com>
This commit is contained in:
parent
44eb208829
commit
8ee5da7cf7
1 changed files with 2 additions and 1 deletions
3
INSTALL
3
INSTALL
|
@ -128,7 +128,8 @@ fi
|
|||
if [ `uname` != Darwin ]; then
|
||||
# Determine whether fontsrv X11 files are available.
|
||||
rm -f a.out
|
||||
gcc -o a.out -c -Iinclude -I/usr/include -I/usr/local/include -I/usr/include/freetype2 -I/usr/local/include/freetype2 src/cmd/fontsrv/x11.c >/dev/null 2>&1
|
||||
gcc -o a.out -c -Iinclude -I/usr/include -I/usr/local/include -I/usr/include/freetype2 -I/usr/local/include/freetype2 \
|
||||
-I/usr/X11R6/include -I/usr/X11R6/include/freetype2 src/cmd/fontsrv/x11.c >/dev/null 2>&1
|
||||
if [ -f a.out ]; then
|
||||
echo " fontsrv dependencies found."
|
||||
echo "FONTSRV=fontsrv" >>$PLAN9/config
|
||||
|
|
Loading…
Reference in a new issue