summaryrefslogtreecommitdiff
path: root/net/flow-tools/patches/patch-ab
blob: ff820dbd1d18dc1e5107afbd61ff17532327480e (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
$NetBSD: patch-ab,v 1.2 2003/05/23 07:19:43 seb Exp $

--- configs/Makefile.in.orig	2003-05-22 14:47:44.000000000 +0000
+++ configs/Makefile.in
@@ -114,17 +114,19 @@ sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 sysconfdir = @sysconfdir@
 target_alias = @target_alias@
-ftsymdir = $(localstatedir)/sym
-ftsym_DATA = ip-prot.sym ip-type.sym tcp-port.sym asn.sym tag.sym
+egftsymdir = $(prefix)/share/examples/@PACKAGE@/sym
+egftsym_DATA = ip-prot.sym ip-type.sym tcp-port.sym asn.sym tag.sym
 
-ftcfgdir = $(localstatedir)/cfg
-ftcfg_DATA = map.cfg tag.cfg filter.cfg stat.cfg mask.cfg
+egftcfgdir = $(prefix)/share/examples/@PACKAGE@/cfg
+egftcfg_DATA = map.cfg tag.cfg filter.cfg stat.cfg mask.cfg
 subdir = configs
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_HEADER = $(top_builddir)/lib/ftconfig.h
 CONFIG_CLEAN_FILES =
+depcomp =
+am__depfiles_maybe =
 DIST_SOURCES =
-DATA = $(ftcfg_DATA) $(ftsym_DATA)
+DATA = $(egftcfg_DATA) $(egftsym_DATA)
 
 DIST_COMMON = Makefile.am Makefile.in
 all: all-am
@@ -132,45 +134,45 @@ all: all-am
 .SUFFIXES:
 $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
 	cd $(top_srcdir) && \
-	  $(AUTOMAKE) --gnu  configs/Makefile
+	  $(AUTOMAKE) --foreign  --ignore-deps configs/Makefile
 Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
 uninstall-info-am:
-ftcfgDATA_INSTALL = $(INSTALL_DATA)
-install-ftcfgDATA: $(ftcfg_DATA)
+egftcfgDATA_INSTALL = $(INSTALL_DATA)
+install-egftcfgDATA: $(egftcfg_DATA)
 	@$(NORMAL_INSTALL)
-	$(mkinstalldirs) $(DESTDIR)$(ftcfgdir)
-	@list='$(ftcfg_DATA)'; for p in $$list; do \
+	$(mkinstalldirs) $(DESTDIR)$(egftcfgdir)
+	@list='$(egftcfg_DATA)'; for p in $$list; do \
 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
-	  echo " $(ftcfgDATA_INSTALL) $$d$$p $(DESTDIR)$(ftcfgdir)/$$f"; \
-	  $(ftcfgDATA_INSTALL) $$d$$p $(DESTDIR)$(ftcfgdir)/$$f; \
+	  echo " $(egftcfgDATA_INSTALL) $$d$$p $(DESTDIR)$(egftcfgdir)/$$f"; \
+	  $(egftcfgDATA_INSTALL) $$d$$p $(DESTDIR)$(egftcfgdir)/$$f; \
 	done
 
-uninstall-ftcfgDATA:
+uninstall-egftcfgDATA:
 	@$(NORMAL_UNINSTALL)
-	@list='$(ftcfg_DATA)'; for p in $$list; do \
+	@list='$(egftcfg_DATA)'; for p in $$list; do \
 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
-	  echo " rm -f $(DESTDIR)$(ftcfgdir)/$$f"; \
-	  rm -f $(DESTDIR)$(ftcfgdir)/$$f; \
+	  echo " rm -f $(DESTDIR)$(egftcfgdir)/$$f"; \
+	  rm -f $(DESTDIR)$(egftcfgdir)/$$f; \
 	done
-ftsymDATA_INSTALL = $(INSTALL_DATA)
-install-ftsymDATA: $(ftsym_DATA)
+egftsymDATA_INSTALL = $(INSTALL_DATA)
+install-egftsymDATA: $(egftsym_DATA)
 	@$(NORMAL_INSTALL)
-	$(mkinstalldirs) $(DESTDIR)$(ftsymdir)
-	@list='$(ftsym_DATA)'; for p in $$list; do \
+	$(mkinstalldirs) $(DESTDIR)$(egftsymdir)
+	@list='$(egftsym_DATA)'; for p in $$list; do \
 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
-	  echo " $(ftsymDATA_INSTALL) $$d$$p $(DESTDIR)$(ftsymdir)/$$f"; \
-	  $(ftsymDATA_INSTALL) $$d$$p $(DESTDIR)$(ftsymdir)/$$f; \
+	  echo " $(egftsymDATA_INSTALL) $$d$$p $(DESTDIR)$(egftsymdir)/$$f"; \
+	  $(egftsymDATA_INSTALL) $$d$$p $(DESTDIR)$(egftsymdir)/$$f; \
 	done
 
-uninstall-ftsymDATA:
+uninstall-egftsymDATA:
 	@$(NORMAL_UNINSTALL)
-	@list='$(ftsym_DATA)'; for p in $$list; do \
+	@list='$(egftsym_DATA)'; for p in $$list; do \
 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
-	  echo " rm -f $(DESTDIR)$(ftsymdir)/$$f"; \
-	  rm -f $(DESTDIR)$(ftsymdir)/$$f; \
+	  echo " rm -f $(DESTDIR)$(egftsymdir)/$$f"; \
+	  rm -f $(DESTDIR)$(egftsymdir)/$$f; \
 	done
 tags: TAGS
 TAGS:
@@ -215,7 +217,7 @@ check: check-am
 all-am: Makefile $(DATA)
 
 installdirs:
-	$(mkinstalldirs) $(DESTDIR)$(ftcfgdir) $(DESTDIR)$(ftsymdir)
+	$(mkinstalldirs) $(DESTDIR)$(egftcfgdir) $(DESTDIR)$(egftsymdir)
 
 install: install-am
 install-exec: install-exec-am
@@ -257,7 +259,7 @@ info: info-am
 
 info-am:
 
-install-data-am: install-ftcfgDATA install-ftsymDATA
+install-data-am: install-egftcfgDATA install-egftsymDATA
 
 install-exec-am:
 
@@ -283,17 +285,18 @@ ps: ps-am
 
 ps-am:
 
-uninstall-am: uninstall-ftcfgDATA uninstall-ftsymDATA uninstall-info-am
+uninstall-am: uninstall-egftcfgDATA uninstall-egftsymDATA \
+	uninstall-info-am
 
 .PHONY: all all-am check check-am clean clean-generic distclean \
 	distclean-generic distdir dvi dvi-am info info-am install \
-	install-am install-data install-data-am install-exec \
-	install-exec-am install-ftcfgDATA install-ftsymDATA \
-	install-info install-info-am install-man install-strip \
-	installcheck installcheck-am installdirs maintainer-clean \
+	install-am install-data install-data-am install-egftcfgDATA \
+	install-egftsymDATA install-exec install-exec-am install-info \
+	install-info-am install-man install-strip installcheck \
+	installcheck-am installdirs maintainer-clean \
 	maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
-	pdf-am ps ps-am uninstall uninstall-am uninstall-ftcfgDATA \
-	uninstall-ftsymDATA uninstall-info-am
+	pdf-am ps ps-am uninstall uninstall-am uninstall-egftcfgDATA \
+	uninstall-egftsymDATA uninstall-info-am
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.