pkgsrc/sysutils/swapd/patches/patch-ab
xtraeme 99a1c6cc4c Initial import of swapd-1.0.
"Swapd" is a daemon that watches free memory and manages swap files. If free
memory drops too low, additional swap files are created. Additionally, if there
is too much free memory, swap files are deactivated and disk space may be
reclaimed.
2004-10-30 05:06:14 +00:00

33 lines
1.2 KiB
Text

$NetBSD: patch-ab,v 1.1.1.1 2004/10/30 05:06:15 xtraeme Exp $
--- Makefile.in.orig 2004-10-30 05:53:53.000000000 +0200
+++ Makefile.in 2004-10-30 05:56:22.000000000 +0200
@@ -10,7 +10,7 @@
prefix = @prefix@
mandir = @mandir@
sysconfdir = @sysconfdir@
-datadir = @datadir@
+datadir = @datadir@/examples/swapd
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
@@ -30,11 +30,11 @@
rm -f Makefile config.h config.status config.log swapd.8 swapd.conf.5
install: all
- -$(INSTALL) -d $(sbindir)
- -$(INSTALL) -d $(sysconfdir)
- -$(INSTALL) -d $(mandir)/man8
- -$(INSTALL) -d $(mandir)/man5
- $(INSTALL) -m 755 swapd$(EXEEXT) $(sbindir)/swapd$(EXEEXT)
- $(INSTALL) -m 644 swapd.conf $(sysconfdir)/swapd.conf
- $(INSTALL) -m 644 swapd.8 $(mandir)/man8/swapd.8
- $(INSTALL) -m 644 swapd.conf.5 $(mandir)/man5/swapd.conf.5
+ $(BSD_INSTALL_DATA_DIR) $(sbindir)
+ $(BSD_INSTALL_DATA_DIR) $(datadir)
+ $(BSD_INSTALL_MAN_DIR) $(mandir)/man8
+ $(BSD_INSTALL_MAN_DIR) $(mandir)/man5
+ $(BSD_INSTALL_PROGRAM) swapd$(EXEEXT) $(sbindir)/swapd$(EXEEXT)
+ $(BSD_INSTALL_DATA) swapd.conf $(datadir)/swapd.conf
+ $(BSD_INSTALL_MAN) swapd.8 $(mandir)/man8/swapd.8
+ $(BSD_INSTALL_MAN) swapd.conf.5 $(mandir)/man5/swapd.conf.5