summaryrefslogtreecommitdiff
path: root/math/yacas/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'math/yacas/patches/patch-af')
-rw-r--r--math/yacas/patches/patch-af18
1 files changed, 18 insertions, 0 deletions
diff --git a/math/yacas/patches/patch-af b/math/yacas/patches/patch-af
new file mode 100644
index 00000000000..0cc34569ae0
--- /dev/null
+++ b/math/yacas/patches/patch-af
@@ -0,0 +1,18 @@
+$NetBSD: patch-af,v 1.1 2000/03/23 13:40:42 agc Exp $
+
+For Solaris, add -lsocket and -lnsl.
+This patch assumes bmake.
+
+--- server/Makefile.in 2000/03/23 13:21:52 1.1
++++ server/Makefile.in 2000/03/23 13:22:31
+@@ -101,6 +101,10 @@
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
++OPSYS!= uname -s
++.if ${OPSYS} == "SunOS"
++LIBS+= -lsocket -lnsl
++.endif
+ yacasserversingle_OBJECTS = yacasserver.o serverloop.o uncgi.o \
+ yacasdo.o localsendreceive.o configread.o
+ yacasserversingle_DEPENDENCIES = ../src/libyacas.a \