This enables support for fontsrv. I'm aware of the lock, just didn't want
to forget this once it's open.
Index: patches/patch-INSTALL
===================================================================
RCS file: /cvs/ports/plan9/plan9port/patches/patch-INSTALL,v
retrieving revision 1.2
diff -u -r1.2 patch-INSTALL
--- patches/patch-INSTALL	9 Mar 2014 20:26:48 -0000	1.2
+++ patches/patch-INSTALL	23 Jul 2014 06:30:02 -0000
@@ -1,6 +1,15 @@
-$OpenBSD: patch-INSTALL,v 1.2 2014/03/09 20:26:48 pascal Exp $
---- INSTALL.orig	Thu Mar  6 11:00:08 2014
-+++ INSTALL	Sun Mar  9 20:58:02 2014
+$OpenBSD$
+--- INSTALL.orig	Tue Jul 22 22:17:14 2014
++++ INSTALL	Tue Jul 22 22:17:17 2014
+@@ -128,7 +128,7 @@ 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
 @@ -150,7 +150,7 @@ cd src
  if $dobuild; then
  	if [ ! -x ../bin/mk ]; then
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/plan9/plan9port/pkg/PLIST,v
retrieving revision 1.3
diff -u -r1.3 PLIST
--- pkg/PLIST	9 Mar 2014 20:26:48 -0000	1.3
+++ pkg/PLIST	23 Jul 2014 06:30:02 -0000
@@ -122,6 +122,7 @@
 @bin plan9/bin/factotum
 @bin plan9/bin/file
 @bin plan9/bin/fmt
+@bin plan9/bin/fontsrv
 @bin plan9/bin/fortune
 plan9/bin/fossil/
 plan9/bin/fossil/conf

Reply via email to