pkgsrc/net/wmnet/patches/patch-aa
seb 285b3ac294 Add support for Solaris via the kstat(3) facility.
Provided in PR pkg/17521 by Lubomir Sedlacik <salo@Xtrmntr.org>.
2002-07-18 12:57:56 +00:00

28 lines
878 B
Text

$NetBSD: patch-aa,v 1.2 2002/07/18 12:57:57 seb Exp $
--- Imakefile.orig Fri May 5 02:34:29 2000
+++ Imakefile Mon Jul 8 16:54:18 2002
@@ -10,14 +10,21 @@
LOCAL_LIBRARIES = $(XLIB) -lm
#endif
-#if defined (FreeBSDArchitecture) || defined (OpenBSDArchitecture)
+#if defined (FreeBSDArchitecture) || defined (OpenBSDArchitecture) || \
+ defined (NetBSDArchitecture)
LOCAL_LIBRARIES = $(XLIB) -lm -lkvm
INSTPGMFLAGS = -s -g kmem -m 2755
#endif
+#if defined (SunArchitecture)
+LOCAL_LIBRARIES = $(XLIB) -lm -lkstat
+CCOPTIONS =
+#endif
+
LINTLIBS = $(LINTXLIB)
-#if defined (FreeBSDArchitecture) || defined (OpenBSDArchitecture)
+#if defined (FreeBSDArchitecture) || defined (OpenBSDArchitecture) || \
+ defined (NetBSDArchitecture) || defined (SunArchitecture)
SRCS = wmnet.c drivers.c getopt.c getopt1.c
OBJS = wmnet.o drivers.o getopt.o getopt1.o
#else