freebsd-ports/sysutils/gkrellm2/files/patch-Makefile
Hajimu UMEMOTO 91118cb947 Use sysctl for getting swap related information. Now, GKrellM doesn't
rely upon kmem access any longer.
It fixes the problem that swap meter didn't work on FreeBSD 7.0.

PR:		ports/120776
2008-02-19 17:14:13 +00:00

24 lines
534 B
Text

Index: Makefile
diff -u Makefile.orig Makefile
--- Makefile.orig 2007-07-20 06:21:50.000000000 +0900
+++ Makefile 2008-02-19 18:42:44.000000000 +0900
@@ -3,7 +3,9 @@
# make
# For FreeBSD 2.X:
# make freebsd2
-# For FreeBSD 3.X or later:
+# For FreeBSD 3.X and 4.X:
+# make freebsd3
+# For FreeBSD 5.X or later:
# make freebsd
# For NetBSD 1.5 - 1.6.X
# make netbsd1
@@ -116,7 +118,7 @@
export MANDIR SMANDIR MANDIRMODE MANMODE
export OS_NAME OS_RELEASE
-enable_nls=1
+enable_nls?=1
debug=0
export enable_nls
export debug