openbsd-ports/sysutils/xosview/patches/patch-ac
1999-09-15 03:17:22 +00:00

33 lines
685 B
Plaintext

# $OpenBSD: patch-ac,v 1.3 1999/09/15 03:17:23 brad Exp $
--- configure.orig Fri Jul 2 04:36:11 1999
+++ configure Fri Jul 2 04:41:31 1999
@@ -1658,6 +1658,19 @@
host_dir=linux
host_os=linux ;;
+
+## Check for OpenBSD 2.0-2.5
+openbsd2.[012345]*)
+ EXTRALIBS="-lkvm $XPMLIB"
+ INSTALL_ARGS='-s -g kmem -m 02555'
+ cat >> confdefs.h <<\EOF
+#define XOSVIEW_OPENBSD 1
+EOF
+
+
+ host_dir=bsd
+ host_os=openbsd ;;
+
## Check for known versions of NetBSD...
netbsd1.[0123]*)
host_os=netbsd
@@ -1761,6 +1774,7 @@
INSTALL_ARGS='-s -g kmem -m 02555'
cat >> confdefs.h <<\EOF
#define XOSVIEW_OPENBSD 1
+#define HAVE_SWAPCTL 1
EOF