summaryrefslogtreecommitdiff
path: root/sysutils/fam/patches/patch-at
blob: b84eb52f20504a94d6c8e754c241c7bad0468284 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
$NetBSD: patch-at,v 1.1.1.1 2002/05/12 10:25:48 rh Exp $

--- Makefile.am.orig	Tue Dec 18 11:03:36 2001
+++ Makefile.am
@@ -7,30 +7,3 @@
 rpm: dist
 	@cd build && $(MAKE) $(AM_MAKEFLAGS) rpm
 
-#  We proceed even if these commands fail because this might be an install
-#  into $DESTDIR by a non-root user.
-install-exec-hook:
-	-@if test "no$(LDCONFIG)" != "no"; then \
-##	    echo "Adding $(libdir) to ld.so.conf..."; \
-	    $(EDITCONF) ld.so.conf add $(DESTDIR)$(libdir) $(DESTDIR)$(libdir); \
-	    exec $(LDCONFIG); \
-	fi
-##	@echo "Adding fam to rpc..."
-	-@$(EDITCONF) rpc add 391002 "sgi_fam		391002"
-##	@echo "Adding fam to inetd.conf..."
-	-@$(EDITCONF) inetd.conf add '\b(fam|FAM)\b' \
-	    "#  fam, the File Alteration Monitor, http://oss.sgi.com/projects/fam/" \
-	    "sgi_fam/1-2 stream rpc/tcp wait root $(DESTDIR)$(bindir)/fam fam"
-	@echo "Restarting inetd..."
-	-@killall -HUP inetd
-
-#  We don't remove $(libdir) from ld.so.conf here because we don't have
-#  a way to tell whether we're the ones who added it, and other things
-#  probably use it as well.
-uninstall-local:
-##	@echo "Removing fam from rpc..."
-	-@$(EDITCONF) rpc remove 391002
-##	@echo "Removing fam from inetd.conf..."
-	-@$(EDITCONF) inetd.conf remove '\b(fam|FAM)\b'
-	@echo "Restarting inetd..."
-	-@killall -HUP inetd