summaryrefslogtreecommitdiff
path: root/devel/pmake/files/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pmake/files/patch-ah')
-rw-r--r--devel/pmake/files/patch-ah18
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/pmake/files/patch-ah b/devel/pmake/files/patch-ah
new file mode 100644
index 000000000000..b291985ddd61
--- /dev/null
+++ b/devel/pmake/files/patch-ah
@@ -0,0 +1,18 @@
+--- customs/os-bsd.c.orig Thu Nov 12 16:45:42 1998
++++ customs/os-bsd.c Thu Nov 12 16:47:14 1998
+@@ -162,6 +162,15 @@
+ # define NO_SWAP /* doesn't have old BSD kernel structures */
+ #endif /* bsdi */
+
++#ifdef __FreeBSD__
++# define KERNEL_FILE "/kernel"
++# define NLIST_AVENRUN "_averunnable"
++# define NLIST_NPROC "_maxproc"
++# define NLIST_NPROCS "_nprocs"
++# define UTMP_FILE "/var/run/utmp"
++# define NO_SWAP /* doesn't have old BSD kernel structures */
++#endif /* __FreeBSD__ */
++
+ /* defaults for most BSD systems */
+ #ifndef n_symbol
+ # define n_symbol n_name