summaryrefslogtreecommitdiff
path: root/net/arla/patches/patch-ae
blob: eea5fefc92d567bb558b8ef0e39960855a69ae18 (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
36
37
38
39
40
$NetBSD: patch-ae,v 1.3 2001/08/09 13:48:59 wennmach Exp $

Do not install libutil.a and the header files bool.h, hash.h, heap.h, list.h,
and log.h, nor any of the man pages. There is a potential conflict with other
libutils.

--- util/Makefile.in.orig	Wed Oct 25 09:06:47 2000
+++ util/Makefile.in		Fri Aug  3 14:41:35 2001
@@ -78,31 +78,8 @@
 libutil_LIB:	$(libutil_OBJS)
 
 install:	all
-		$(MKINSTALLDIRS) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
-		$(INSTALL_DATA) $(LIB) $(DESTDIR)$(libdir)/$(LIB)
-		for i in $(HEADERS); do \
-		  $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir)/$$i; \
-		done ; \
-		MANPAGES='$(MANPAGES)'; for x in $$MANPAGES; do \
-			n=`echo $$x | sed 's/\(.*\)\.[1-9a-zA-Z]*$$/\1/'`; \
-			e=`echo $$x | sed 's/.*\.\([1-9a-zA-Z]*\)$$/\1/'`; \
-			f=`echo $$n | sed '$(transform)'`; \
-			$(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$$e ; \
-			$(INSTALL_DATA) $(srcdir)/$$x \
-				$(DESTDIR)$(mandir)/man$$e/$$f.$$e; \
-		done
 
 uninstall:
-		rm -f $(DESTDIR)$(libdir)/$(LIB)
-		for i in $(HEADERS); do \
-			rm -f $(DESTDIR)$(includedir)/$$i; \
-		done ; \
-		MANPAGES='$(MANPAGES)'; for x in $$MANPAGES; do \
-			n=`echo $$x | sed 's/\(.*\)\.[1-9a-zA-Z]*$$/\1/'`; \
-			e=`echo $$x | sed 's/.*\.\([1-9a-zA-Z]*\)$$/\1/'`; \
-			f=`echo $$n | sed '$(transform)'`; \
-			rm -rf $(DESTDIR)$(mandir)/$$f.$$e; \
-		done
 
 libutil.a:	$(libutil_OBJS)
 		$(AR) cr $@ $(libutil_OBJS)