1 |
hollow 08/02/23 20:26:08 |
2 |
|
3 |
Added: apachetop-0.12.6-configure.patch |
4 |
Removed: CAN-2005-2660.patch |
5 |
Log: |
6 |
fix #198553; remove old version |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 app-admin/apachetop/files/apachetop-0.12.6-configure.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/apachetop/files/apachetop-0.12.6-configure.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/apachetop/files/apachetop-0.12.6-configure.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: apachetop-0.12.6-configure.patch |
16 |
=================================================================== |
17 |
Index: apachetop-0.12.6/configure.ac |
18 |
=================================================================== |
19 |
--- apachetop-0.12.6.orig/configure.ac |
20 |
+++ apachetop-0.12.6/configure.ac |
21 |
@@ -52,48 +52,60 @@ AC_FUNC_VPRINTF |
22 |
AC_CHECK_FUNCS([inet_aton memset strchr strdup kqueue strerror strstr]) |
23 |
|
24 |
# pcre {{{ |
25 |
-AC_ARG_WITH(pcre, |
26 |
- [ --with-pcre=<path> prefix of pcre installation (eg /usr/local)], |
27 |
- [ |
28 |
- CPPFLAGS="$CPPFLAGS -I $withval/include" |
29 |
- LDFLAGS="$LDFLAGS -L $withval/lib" |
30 |
- ] |
31 |
-) |
32 |
- |
33 |
-AC_CHECK_HEADERS(pcre.h, |
34 |
- AC_SEARCH_LIBS([pcre_compile], [pcre]) , |
35 |
- AC_MSG_WARN([*** pcre.h not found -- consider using --with-pcre]) |
36 |
-) |
37 |
+AC_ARG_WITH([pcre], |
38 |
+ [ --with-pcre=<path> prefix of pcre installation (eg /usr/local)], |
39 |
+ [case "${withval}" in |
40 |
+ yes) with_pcre="/usr";; |
41 |
+ no) with_pcre="no";; |
42 |
+ *) with_pcre="/usr";; |
43 |
+ esac], |
44 |
+ [with_pcre="/usr"]) |
45 |
+ |
46 |
+if test x$with_pcre != xno; then |
47 |
+ CPPFLAGS="$CPPFLAGS -I $withval/include" |
48 |
+ LDFLAGS="$LDFLAGS -L $withval/lib" |
49 |
+ AC_CHECK_HEADERS(pcre.h, |
50 |
+ AC_SEARCH_LIBS([pcre_compile], [pcre]), |
51 |
+ AC_MSG_WARN([*** pcre.h not found -- consider using --with-pcre])) |
52 |
+fi |
53 |
# }}} |
54 |
|
55 |
# fam {{{ |
56 |
-AC_ARG_WITH(fam, |
57 |
- [ --with-fam=<path> prefix of fam installation (eg /usr/local)], |
58 |
- [ |
59 |
- CPPFLAGS="$CPPFLAGS -I $withval/include" |
60 |
- LDFLAGS="$LDFLAGS -L $withval/lib" |
61 |
- ] |
62 |
-) |
63 |
- |
64 |
-AC_CHECK_HEADERS(fam.h, |
65 |
- AC_SEARCH_LIBS([FAMOpen], [fam]) , |
66 |
- AC_MSG_WARN([*** fam.h not found -- consider using --with-fam]) |
67 |
-) |
68 |
+AC_ARG_WITH([fam], |
69 |
+ [ --with-fam=<path> prefix of fam installation (eg /usr/local)], |
70 |
+ [case "${withval}" in |
71 |
+ yes) with_fam="/usr";; |
72 |
+ no) with_fam="no";; |
73 |
+ *) with_fam="/usr";; |
74 |
+ esac], |
75 |
+ [with_fam="/usr"]) |
76 |
+ |
77 |
+if test x$with_fam != xno; then |
78 |
+ CPPFLAGS="$CPPFLAGS -I $with_fam/include" |
79 |
+ LDFLAGS="$LDFLAGS -L $with_fam/lib" |
80 |
+ AC_CHECK_HEADERS(fam.h, |
81 |
+ AC_SEARCH_LIBS([FAMOpen], [fam]), |
82 |
+ AC_MSG_WARN([*** fam.h not found -- consider using --with-fam])) |
83 |
+fi |
84 |
# }}} |
85 |
|
86 |
# adns {{{ |
87 |
-AC_ARG_WITH(adns, |
88 |
- [ --with-adns=<path> prefix of adns installation (eg /usr/local)], |
89 |
- [ |
90 |
- CPPFLAGS="$CPPFLAGS -I $withval/include" |
91 |
- LDFLAGS="$LDFLAGS -L $withval/lib" |
92 |
- ] |
93 |
-) |
94 |
- |
95 |
-AC_CHECK_HEADERS(adns.h, |
96 |
- AC_SEARCH_LIBS([adns_submit], [adns]) , |
97 |
- AC_MSG_WARN([*** adns.h not found -- consider using --with-adns]) |
98 |
-) |
99 |
+AC_ARG_WITH([adns], |
100 |
+ [ --with-adns=<path> prefix of adns installation (eg /usr/local)], |
101 |
+ [case "${withval}" in |
102 |
+ yes) with_adns="/usr";; |
103 |
+ no) with_adns="no";; |
104 |
+ *) with_adns="/usr";; |
105 |
+ esac], |
106 |
+ [with_adns="/usr"]) |
107 |
+ |
108 |
+if test x$with_adns != xno; then |
109 |
+ CPPFLAGS="$CPPFLAGS -I $with_adns/include" |
110 |
+ LDFLAGS="$LDFLAGS -L $with_adns/lib" |
111 |
+ AC_CHECK_HEADERS(adns.h, |
112 |
+ AC_SEARCH_LIBS([adns_submit], [adns]), |
113 |
+ AC_MSG_WARN([*** adns.h not found -- consider using --with-adns])) |
114 |
+fi |
115 |
# }}} |
116 |
|
117 |
# --with-logfile {{{ |
118 |
|
119 |
|
120 |
|
121 |
-- |
122 |
gentoo-commits@l.g.o mailing list |