shithub: freetype+ttf2subf

Download patch

ref: edfc0f8ac43e012d90e312bd7060630b8fa3d687
parent: 62ccef75476497ed3434d06a9a38b3e418af78b2
author: David Turner <[email protected]>
date: Fri Jan 7 09:37:24 EST 2000

changed rules to build demos on Solaris

git/fs: mount .git/fs: mount/attach disallowed
--- a/demos/config/x11/rules.mk
+++ b/demos/config/x11/rules.mk
@@ -14,15 +14,17 @@
 #
 ifneq ($(findstring X11R6$(SEP)bin,$(PATH)),)
 xversion := X11R6
-endif
+else
 
 ifneq ($(findstring X11R5$(SEP)bin,$(PATH)),)
 xversion := X11R5
-endif
+else
 
 ifneq ($(findstring X11$(SEP)bin,$(PATH)),)
 xversion := X11
 endif
+endif
+endif
 
 ifdef xversion
 X11_PATH := $(subst ;, ,$(PATH)) $(subst :, ,$(PATH))
@@ -47,9 +49,19 @@
 #
 GRAPH_LINK     += -L$(X11_LIB) -lX11
 
+# Solaris needs a -lsocket in GRAPH_LINK ..
+#
+UNAME := $(shell uname)
+ifneq ($(findstring $(UNAME),SunOS Solaris),)
+GRAPH_LINK += -lsocket
+endif
+
+
 # add the X11 driver object file to the graphics library
 #
 GRAPH_OBJS += $(OBJ_)grx11.$O
+
+
 
 GR_X11  := config$(SEP)x11
 GR_X11_ := $(GR_X11)$(SEP)