Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/epic5/files/, net-irc/epic5/
Date: Wed, 15 May 2019 18:38:24
Message-Id: 1557945481.288a2f63a449736b4a2af033ed84efba7f458098.asturm@gentoo
1 commit: 288a2f63a449736b4a2af033ed84efba7f458098
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 15 15:35:05 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed May 15 18:38:01 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=288a2f63
7
8 net-irc/epic5: Drop 1.1.10-r2
9
10 Package-Manager: Portage-2.3.66, Repoman-2.3.12
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 net-irc/epic5/Manifest | 1 -
14 net-irc/epic5/epic5-1.1.10-r2.ebuild | 78 ------------
15 .../epic5-1.1.10-ruby-automagic-as-needed.patch | 134 ---------------------
16 .../epic5/files/epic5-1.1.10-socks5-libsocks.patch | 32 -----
17 .../epic5-1.1.10-tcl-automagic-as-needed.patch | 116 ------------------
18 .../files/epic5-1.1.10-without-localdir.patch | 66 ----------
19 net-irc/epic5/files/epic5-1.1.10-xlocale.patch | 11 --
20 .../files/epic5-1.1.2-libarchive-automagic.patch | 53 --------
21 .../epic5-1.1.2-perl-automagic-as-needed.patch | 114 ------------------
22 9 files changed, 605 deletions(-)
23
24 diff --git a/net-irc/epic5/Manifest b/net-irc/epic5/Manifest
25 index 84edd9778ef..577557d4501 100644
26 --- a/net-irc/epic5/Manifest
27 +++ b/net-irc/epic5/Manifest
28 @@ -1,2 +1 @@
29 -DIST epic5-1.1.10.tar.bz2 851439 BLAKE2B 13cf0f78ed2009595479fac8173b2936cf74382ec22964e00de2d84fd89c6cee661e4ea9e3d8ba44ec715ac7e861f4639b3459d3ac2d67c74cc49ad4aeebf127 SHA512 d0215570962253a0d5c60dacec86db1094575b0765db039247cf16b5957ba721576618ff73588610ba528782f4460fd4bbe5a1869e60e2c10d832d41ea3c6048
30 DIST epic5-2.0.1.tar.xz 808612 BLAKE2B 48bc1305f955f524e26b5a2122f061b0251b874ad102e3a95c65b15646f7d5c95f661bdbac3e6ea118ce5d5b5e3ca58a94cfce288ee32c7483ea6dc1b6d24950 SHA512 29721cb097946fae3d64f71be4047f8348f7821ccdea870b4c756098f07adee90f03decb2f37fc5fa5c7c9d1aac5a16f4944adc9c9bc66097ceb609c69da2e25
31
32 diff --git a/net-irc/epic5/epic5-1.1.10-r2.ebuild b/net-irc/epic5/epic5-1.1.10-r2.ebuild
33 deleted file mode 100644
34 index 85532830333..00000000000
35 --- a/net-irc/epic5/epic5-1.1.10-r2.ebuild
36 +++ /dev/null
37 @@ -1,78 +0,0 @@
38 -# Copyright 1999-2018 Gentoo Foundation
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -EAPI=6
42 -
43 -USE_RUBY="ruby23 ruby24"
44 -
45 -inherit autotools ruby-single toolchain-funcs
46 -
47 -DESCRIPTION="Epic5 IRC Client"
48 -SRC_URI="ftp://ftp.epicsol.org/pub/epic/EPIC5-PRODUCTION/${P}.tar.bz2"
49 -HOMEPAGE="http://epicsol.org/"
50 -
51 -LICENSE="BSD"
52 -SLOT="0"
53 -KEYWORDS="amd64 ~ppc x86"
54 -IUSE="archive ipv6 perl tcl ruby socks5 valgrind"
55 -
56 -RDEPEND="
57 - >=dev-libs/openssl-0.9.8e-r3:0
58 - >=sys-libs/ncurses-5.6-r2:0
59 - virtual/libiconv
60 - archive? ( app-arch/libarchive )
61 - perl? ( >=dev-lang/perl-5.8.8-r2 )
62 - tcl? ( dev-lang/tcl:0 )
63 - socks5? ( net-proxy/dante )
64 - ruby? ( ${RUBY_DEPS} )"
65 -DEPEND="${RDEPEND}
66 - valgrind? ( dev-util/valgrind )"
67 -
68 -S=${WORKDIR}/${P}
69 -
70 -PATCHES=(
71 - "${FILESDIR}"/${PN}-1.1.2-libarchive-automagic.patch
72 - "${FILESDIR}"/${P}-ruby-automagic-as-needed.patch
73 - "${FILESDIR}"/${P}-tcl-automagic-as-needed.patch
74 - "${FILESDIR}"/${PN}-1.1.2-perl-automagic-as-needed.patch
75 - "${FILESDIR}"/${P}-without-localdir.patch
76 - "${FILESDIR}"/${P}-socks5-libsocks.patch
77 - "${FILESDIR}"/${P}-xlocale.patch
78 -)
79 -
80 -src_prepare() {
81 - default
82 - eautoconf
83 -}
84 -
85 -src_configure() {
86 - # Because of our REQUIRED_USE constraints above, we know that
87 - # ruby_get_use_implementations will only ever return one ruby
88 - # implementation.
89 - econf \
90 - --libexecdir="${EPREFIX}"/usr/lib/misc \
91 - $(use_with archive libarchive) \
92 - $(use_with ipv6) \
93 - $(use_with perl) \
94 - $(use_with ruby) \
95 - $(use_with socks5) \
96 - $(use_with tcl tcl "${EPREFIX}"/usr/$(get_libdir)/tclConfig.sh) \
97 - $(use_with valgrind valgrind)
98 -}
99 -
100 -src_compile() {
101 - # parallel build failure
102 - emake -j1
103 -}
104 -
105 -src_install () {
106 - default
107 -
108 - dodoc BUG_FORM COPYRIGHT EPIC4-USERS-README README KNOWNBUGS VOTES
109 -
110 - cd "${S}"/doc || die
111 - docinto doc
112 - dodoc \
113 - *.txt colors EPIC* IRCII_VERSIONS missing \
114 - nicknames outputhelp README.SSL SILLINESS TS4
115 -}
116
117 diff --git a/net-irc/epic5/files/epic5-1.1.10-ruby-automagic-as-needed.patch b/net-irc/epic5/files/epic5-1.1.10-ruby-automagic-as-needed.patch
118 deleted file mode 100644
119 index ba277ca8f60..00000000000
120 --- a/net-irc/epic5/files/epic5-1.1.10-ruby-automagic-as-needed.patch
121 +++ /dev/null
122 @@ -1,134 +0,0 @@
123 -From: Nathan Phillip Brink <binki@g.o>
124 -Subject: Fix up linking against libruby when using
125 - LDFLAGS=-Wl,--as-needed. Also allow ruby to be a non-automagic
126 - dependency.
127 -
128 ---- a/configure.in Tue Mar 25 07:39:34 2014 +0000
129 -+++ b/configure.in Tue Mar 25 07:55:14 2014 +0000
130 -@@ -1168,34 +1168,28 @@
131 - dnl
132 - dnl Ruby support?
133 - dnl
134 --AC_ARG_WITH(ruby,
135 --[ --with-ruby[=PATH_TO_RUBY_EXE] Compile with ruby support.],
136 --[
137 -- rubyexe=$withval
138 --],
139 -- rubyexe=yes
140 --)
141 --
142 --if test "x$rubyexe" = "xyes"; then
143 -- for i in ruby ruby20 ruby19 ruby18 ruby2.0 ruby1.9.1 ruby1.9 ruby1.8; do
144 -- $i -h 2>&1 >/dev/null && rubyexe=$i && break
145 -- done
146 -- if test "x$rubyexe" = "xyes"; then
147 -- rubyexe=no
148 -- fi
149 --fi
150 -+AC_ARG_WITH([ruby],
151 -+ [AS_HELP_STRING([--with-ruby[=PATH_TO_RUBY_EXE]], [Compile with ruby support.])],
152 -+ [], [with_ruby=maybe])
153 -
154 --if test "x$rubyexe" = "xno"; then
155 -+with_ruby_errormsg="--with-ruby was specified but I could not locate ruby. Please try specifying --with-ruby=/path/to/ruby or --without-ruby."
156 -+AC_MSG_CHECKING([whether to support Ruby])
157 -+if test "x$with_ruby" = "xno" ; then
158 - AC_MSG_CHECKING(whether to support Ruby)
159 - AC_MSG_RESULT(no)
160 - else
161 -- AC_CHECK_PROG(RUBYPROG, $rubyexe, "yes", "no")
162 -- AC_MSG_CHECKING(whether to support Ruby)
163 -- if test $RUBYPROG != "yes" ; then
164 -- AC_MSG_RESULT(no)
165 -+ AC_MSG_RESULT(yes)
166 -+ AS_IF([test "x$with_ruby" = "xyes" -o "x$with_ruby" = "xmaybe"],
167 -+ [rubyexe=ruby],
168 -+ [rubyexe="$with_ruby"])
169 -+ dnl Support --with-ruby being passed a full path instead of just an executable name.
170 -+ AS_IF([test -x "$rubyexe"],
171 -+ [RUBYPROG=yes],
172 -+ [AC_CHECK_PROG([RUBYPROG], [$rubyexe], [yes], [no])])
173 -+ if test "x$RUBYPROG" = xno ; then
174 -+ AS_IF([test "x$with_ruby" != "xmaybe"],
175 -+ [AC_MSG_ERROR([$with_ruby_errormsg])])
176 - else
177 -- AC_MSG_RESULT(yes)
178 --
179 - dnl ----
180 - dnl Look first for Ruby 1.9
181 - incdir=`$rubyexe -rrbconfig -e 'puts RbConfig::CONFIG[["rubyhdrdir"]]'`
182 -@@ -1208,15 +1205,15 @@
183 -
184 - rubylibs=`$rubyexe -rrbconfig -e 'puts RbConfig::CONFIG[["LIBRUBYARG"]]'`
185 - extralibs=`$rubyexe -rrbconfig -e 'puts RbConfig::CONFIG[["LIBS"]]'`
186 -- RUBYLDFLAGS="$rubylibs $extralibs"
187 -+ RUBYLIBS="$rubylibs $extralibs"
188 - RUBYDOTOH="ruby.o"
189 -
190 - AC_MSG_CHECKING(whether embedded ruby works the way I expect)
191 - have_embedded_ruby="no"
192 - old_CFLAGS="$CFLAGS"
193 -- old_LDFLAGS="$LDFLAGS"
194 -+ old_LIBS="$LIBS"
195 - CFLAGS="$CFLAGS $RUBYCFLAGS"
196 -- LDFLAGS="$LDFLAGS $RUBYLDFLAGS"
197 -+ LIBS="$LIBS $RUBYLIBS"
198 - AC_TRY_LINK([
199 - #include <ruby.h>
200 - VALUE epic_echo (VALUE module, VALUE string)
201 -@@ -1241,9 +1238,9 @@
202 - AC_MSG_RESULT(no)
203 - AC_MSG_CHECKING(whether ruby requires -pthread to link)
204 - RUBYCFLAGS="$RUBYCFLAGS -pthread"
205 -- RUBYLDFLAGS="$RUBYLDFLAGS -pthread"
206 -- CFLAGS="$CFLAGS $RUBYCFLAGS"
207 -- LDFLAGS="$LDFLAGS $RUBYLDFLAGS"
208 -+ RUBYLIBS="$RUBYLIBS -pthread"
209 -+ CFLAGS="$old_CFLAGS $RUBYCFLAGS"
210 -+ LIBS="$old_LIBS $RUBYLIBS"
211 -
212 - AC_TRY_LINK([
213 - #include <ruby.h>
214 -@@ -1268,17 +1265,19 @@
215 - fi
216 -
217 - CFLAGS="$old_CFLAGS"
218 -- LDFLAGS="$old_LDFLAGS"
219 -+ LIBS="$old_LIBS"
220 - if test $have_embedded_ruby = "yes" ; then
221 - AC_MSG_RESULT(yes)
222 - AC_DEFINE(HAVE_RUBY)
223 - AC_DEFINE(RUBYCFLAGS)
224 -- AC_DEFINE(RUBYLDFLAGS)
225 -+ AC_DEFINE(RUBYLIBS)
226 - else
227 -+ AS_IF([test "x$with_ruby" != "xmaybe"],
228 -+ [AC_MSG_ERROR([$with_ruby_errormsg])])
229 - RUBYDOTOH=""
230 - HAVE_RUBY=""
231 - RUBYCFLAGS=""
232 -- RUBYLDFLAGS=""
233 -+ RUBYLIBS=""
234 - AC_MSG_RESULT(no, sorry)
235 - fi
236 - fi
237 -@@ -1376,7 +1375,7 @@
238 - AC_SUBST(LDFLAGS)
239 - AC_SUBST(RUBYDOTOH)
240 - AC_SUBST(RUBYCFLAGS)
241 --AC_SUBST(RUBYLDFLAGS)
242 -+AC_SUBST(RUBYLIBS)
243 - AC_SUBST(TCLDOTOH)
244 - AC_SUBST(TCLCFLAGS)
245 - AC_SUBST(TCLLDFLAGS)
246 ---- a/source/Makefile.in Tue Mar 25 07:39:34 2014 +0000
247 -+++ b/source/Makefile.in Tue Mar 25 07:55:14 2014 +0000
248 -@@ -38,7 +38,7 @@
249 - epic5: $(OBJECTS)
250 - sh info.c.sh
251 - $(CC) $(CFLAGS) $(INCLUDES) -c info.c
252 -- $(CC) $(CFLAGS) $(LDFLAGS) -o epic5 $(OBJECTS) info.o @PERLLDFLAGS@ @TCLLDFLAGS@ @RUBYLDFLAGS@ $(LIBS)
253 -+ $(CC) $(CFLAGS) $(LDFLAGS) -o epic5 $(OBJECTS) info.o @PERLLDFLAGS@ @TCLLDFLAGS@ @RUBYLIBS@ $(LIBS)
254 - $(RM) info.c info.o
255 - clean::
256 - $(RM) epic5 $(OBJECTS)
257
258 diff --git a/net-irc/epic5/files/epic5-1.1.10-socks5-libsocks.patch b/net-irc/epic5/files/epic5-1.1.10-socks5-libsocks.patch
259 deleted file mode 100644
260 index 4aef0c7d6af..00000000000
261 --- a/net-irc/epic5/files/epic5-1.1.10-socks5-libsocks.patch
262 +++ /dev/null
263 @@ -1,32 +0,0 @@
264 -From: Nathan Phillip Brink <binki@g.o>
265 -Subject: Use -lsocks instead of -lsocks5 for `./configure --with-socks5`.
266 -
267 ---- a/configure.in
268 -+++ b/configure.in
269 -@@ -861,7 +861,7 @@
270 -
271 - AC_MSG_CHECKING(whether to support SOCKS)
272 - AC_ARG_WITH(socks,
273 --[ --with-socks[=PATH] Compile with SOCKS firewall traversal support.],
274 -+[ --with-socks[=PATH] Compile with SOCKS (libsocks without socks.h) firewall traversal support.],
275 - [ case "$withval" in
276 - no)
277 - AC_MSG_RESULT(no)
278 -@@ -887,7 +887,7 @@
279 -
280 - AC_MSG_CHECKING(whether to support SOCKS5)
281 - AC_ARG_WITH(socks5,
282 --[ --with-socks5[=PATH] Compile with SOCKS5 firewall traversal support.],
283 -+[ --with-socks5[=PATH] Compile with SOCKS5 (libsocks with socks.h) firewall traversal support.],
284 - [ case "$withval" in
285 - no)
286 - AC_MSG_RESULT(no)
287 -@@ -899,7 +899,7 @@
288 - fi
289 -
290 - AC_MSG_RESULT(yes)
291 -- LIBS="$LIBS -lsocks5"
292 -+ LIBS="$LIBS -lsocks"
293 - AC_DEFINE(SOCKS)
294 - AC_DEFINE(USE_SOCKS5)
295 - ;;
296
297 diff --git a/net-irc/epic5/files/epic5-1.1.10-tcl-automagic-as-needed.patch b/net-irc/epic5/files/epic5-1.1.10-tcl-automagic-as-needed.patch
298 deleted file mode 100644
299 index 5b5b932b06b..00000000000
300 --- a/net-irc/epic5/files/epic5-1.1.10-tcl-automagic-as-needed.patch
301 +++ /dev/null
302 @@ -1,116 +0,0 @@
303 -From: Nathan Phillip Brink <binki@g.o>
304 -Subject: Make dependence on TCL not be automagic (so that --with-tcl
305 - errors out if TCL can't be found and not specifying --with-tcl
306 - does the normal automagic behavior). Support
307 - LDFLAGS=-Wl,--as-needed by using LIBS instead of LDFLAGS for
308 - -ltcl as appropriate.
309 -
310 ---- a/configure.in
311 -+++ b/configure.in
312 -@@ -1122,43 +1122,41 @@
313 - dnl
314 - dnl Tcl support?
315 - dnl
316 --AC_ARG_WITH(tcl,
317 --[ --with-tcl[=PATH_TO_tclConfig.sh] Compile with tcl support.],
318 --[
319 -- tclconfig=$withval
320 --],
321 -- tclconfig="yes"
322 --)
323 --
324 --if test "x$tclconfig" = "xyes" ; then
325 -- for i in /usr/lib $localdir/lib $localdir/lib/tcl8.4 ; do
326 -- if test -r $i/tclConfig.sh ; then
327 -- tclconfig=$i/tclConfig.sh
328 -- break;
329 -- fi
330 -- done
331 --fi
332 -+AC_ARG_WITH([tcl], [AS_HELP_STRING([--with-tcl[=PATH_TO_tclConfig.sh]], [Compile with tcl support.])],
333 -+ [], [with_tcl=maybe])
334 -
335 - AC_MSG_CHECKING(whether to support TCL)
336 --if test "x$tclconfig" = "xno"; then
337 -+if test "x$with_tcl" = "xno"; then
338 - AC_MSG_RESULT(no)
339 - else
340 -- if test ! -r $tclconfig ; then
341 -+ with_tcl_errormsg="You specified --with-tcl=$with_tcl but I could not find TCL. Please specify --with-tcl=/path/to/tclConfig.sh or remove --with-tcl from ./configure's commandline."
342 -+ if test "x$with_tcl" = "xmaybe" -o "x$with_tcl" = "xyes"; then
343 -+ for i in /usr/lib /usr/local/lib /usr/local/lib/tcl8.4 ; do
344 -+ if test -r "$i"/tclConfig.sh ; then
345 -+ tclconfig="$i"/tclConfig.sh
346 -+ break;
347 -+ fi
348 -+ done
349 -+ else
350 -+ tclconfig="$with_tcl"
351 -+ fi
352 -+ if test ! -r "$tclconfig" ; then
353 -+ dnl Avoid being automagic unless if the user wants us to be.
354 -+ AS_IF([test "x$with_tcl" != "xmaybe"],
355 -+ [AC_MSG_ERROR([$with_tcl_errormsg])])
356 - AC_MSG_RESULT(no)
357 - else
358 - AC_MSG_RESULT(yes)
359 -- TCLCFLAGS=`(. $tclconfig && echo $TCL_INCLUDE_SPEC)`
360 -- TCLLDFLAGS1=`(. $tclconfig && echo $TCL_LIB_SPEC)`
361 -- TCLLDFLAGS2=`(. $tclconfig && echo $TCL_LIBS)`
362 -- TCLLDFLAGS=$(eval echo "$TCLLDFLAGS1 $TCLLDFLAGS2")
363 -+ TCLCFLAGS=`(. "$tclconfig" && echo $TCL_INCLUDE_SPEC)`
364 -+ TCLLIBS=`(. "$tclconfig" && echo $TCL_LIB_SPEC $TCL_LIBS)`
365 - TCLDOTOH="tcl.o"
366 -
367 - AC_MSG_CHECKING(whether embedded tcl works the way I expect)
368 - have_embedded_tcl="no"
369 - old_CFLAGS="$CFLAGS"
370 -- old_LDFLAGS="$LDFLAGS"
371 -+ old_LIBS="$LIBS"
372 - CFLAGS="$CFLAGS $TCLCFLAGS"
373 -- LDFLAGS="$LDFLAGS $TCLLDFLAGS"
374 -+ LIBS="$LIBS $TCLLIBS"
375 - AC_TRY_LINK([
376 - #include <tcl.h>
377 - Tcl_Interp *my_tcl;
378 -@@ -1175,14 +1173,16 @@
379 - ], have_embedded_tcl="yes")
380 -
381 - CFLAGS="$old_CFLAGS"
382 -- LDFLAGS="$old_LDFLAGS"
383 -+ LIBS="$old_LIBS"
384 - if test $have_embedded_tcl = "yes" ; then
385 - AC_MSG_RESULT(yes)
386 - AC_DEFINE(HAVE_TCL)
387 - AC_DEFINE(TCLCFLAGS)
388 -- AC_DEFINE(TCLLDFLAGS)
389 -+ AC_DEFINE(TCLLIBS)
390 - else
391 -- AC_MSG_RESULT(no, sorry)
392 -+ AS_IF([test "$with_tcl" != "xmaybe"],
393 -+ [AC_MSG_ERROR([$with_tcl_errormsg])])
394 -+ AC_MSG_RESULT(no, sorry)
395 - fi
396 - fi
397 - fi
398 -@@ -1383,7 +1383,7 @@
399 - AC_SUBST(RUBYLIBS)
400 - AC_SUBST(TCLDOTOH)
401 - AC_SUBST(TCLCFLAGS)
402 --AC_SUBST(TCLLDFLAGS)
403 -+AC_SUBST(TCLLIBS)
404 - AC_SUBST(PERLDOTOH)
405 - AC_SUBST(PERLCFLAGS)
406 - AC_SUBST(PERLLDFLAGS)
407 -
408 ---- a/source/Makefile.in
409 -+++ b/source/Makefile.in
410 -@@ -38,7 +38,7 @@
411 - epic5: $(OBJECTS)
412 - sh info.c.sh
413 - $(CC) $(CFLAGS) $(INCLUDES) -c info.c
414 -- $(CC) $(CFLAGS) $(LDFLAGS) -o epic5 $(OBJECTS) info.o @PERLLDFLAGS@ @TCLLDFLAGS@ @RUBYLIBS@ $(LIBS)
415 -+ $(CC) $(CFLAGS) $(LDFLAGS) -o epic5 $(OBJECTS) info.o @PERLLDFLAGS@ @TCLLIBS@ @RUBYLIBS@ $(LIBS)
416 - $(RM) info.c info.o
417 - clean::
418 - $(RM) epic5 $(OBJECTS)
419
420 diff --git a/net-irc/epic5/files/epic5-1.1.10-without-localdir.patch b/net-irc/epic5/files/epic5-1.1.10-without-localdir.patch
421 deleted file mode 100644
422 index 4caccad764a..00000000000
423 --- a/net-irc/epic5/files/epic5-1.1.10-without-localdir.patch
424 +++ /dev/null
425 @@ -1,66 +0,0 @@
426 -From: Nathan Phillip Brink <binki@g.o>
427 -Subject: Drop some automatic probing of /usr/local and /opt and etc., Gentoo users know to use CPPFLAGS/CFLAGS/LDFLAGS.
428 -Date: 2014-08-30
429 -
430 ---- a/configure.in
431 -+++ b/configure.in
432 -@@ -33,58 +33,6 @@
433 - AC_AIX
434 -
435 - dnl ----------------------------------------------------------
436 --AC_MSG_CHECKING([for an extra library directory])
437 --AC_ARG_WITH([localdir],
438 --[ --with-localdir=/usr/local An extra directory to look for stuff.],[
439 -- if test "x$withval" = "x" ; then
440 -- if test -d /usr/local/lib ; then
441 -- withval="/usr/local"
442 -- elif test -d /usr/pkg/lib ; then
443 -- withval="/usr/pkg"
444 -- elif test -d /opt/lib ; then
445 -- withval="/opt"
446 -- else
447 -- with_extra_libdir="no"
448 -- fi
449 -- elif test -d "$withval" ; then
450 -- with_extra_libdir="yes"
451 -- else
452 -- with_extra_libdir="no"
453 -- fi
454 --
455 -- if test "x$withval" != "x" ; then
456 -- LIBS="-L$withval/lib $LIBS"
457 -- CFLAGS="-I$withval/include/ $CFLAGS"
458 -- localdir=$withdir
459 -- with_extra_libdir="yes"
460 -- else
461 -- with_extra_libdir="no"
462 -- fi
463 --],[
464 -- if test "x$withval" = "x" ; then
465 -- if test -d /usr/local/lib ; then
466 -- withval="/usr/local"
467 -- elif test -d /usr/pkg/lib ; then
468 -- withval="/usr/pkg"
469 -- elif test -d /opt/lib ; then
470 -- withval="/opt"
471 -- else
472 -- with_extra_libdir="no"
473 -- fi
474 -- fi
475 --
476 -- if test "x$withval" != "x" ; then
477 -- LIBS="-L$withval/lib $LIBS"
478 -- CFLAGS="-I$withval/include/ $CFLAGS"
479 -- localdir=$withdir
480 -- with_extra_libdir="yes"
481 -- else
482 -- with_extra_libdir="no"
483 -- fi
484 --])
485 --AC_MSG_RESULT([$with_extra_libdir, $withval])
486 --
487 --dnl ----------------------------------------------------------
488 - dnl ----------------------------------------------------------
489 - dnl
490 - dnl System specific checks
491 -
492
493 diff --git a/net-irc/epic5/files/epic5-1.1.10-xlocale.patch b/net-irc/epic5/files/epic5-1.1.10-xlocale.patch
494 deleted file mode 100644
495 index 8c5c7e44bff..00000000000
496 --- a/net-irc/epic5/files/epic5-1.1.10-xlocale.patch
497 +++ /dev/null
498 @@ -1,11 +0,0 @@
499 -diff -ruN epic5-1.1.10.orig/source/recode.c epic5-1.1.10/source/recode.c
500 ---- epic5-1.1.10.orig/source/recode.c 2014-04-11 17:12:26.000000000 +0200
501 -+++ epic5-1.1.10/source/recode.c 2018-04-30 22:55:11.976293375 +0200
502 -@@ -41,7 +41,6 @@
503 - #include <langinfo.h>
504 - #include <locale.h>
505 - #include <wctype.h>
506 --#include <xlocale.h>
507 -
508 - /*
509 - * Here's the plan...
510
511 diff --git a/net-irc/epic5/files/epic5-1.1.2-libarchive-automagic.patch b/net-irc/epic5/files/epic5-1.1.2-libarchive-automagic.patch
512 deleted file mode 100644
513 index 522610f9fb5..00000000000
514 --- a/net-irc/epic5/files/epic5-1.1.2-libarchive-automagic.patch
515 +++ /dev/null
516 @@ -1,53 +0,0 @@
517 -From: Nathan Phillip Brink <binki@g.o>
518 -Subject: Prevent libarchive check from being automagic.
519 -
520 ---- a/configure.in
521 -+++ b/configure.in
522 -@@ -231,22 +231,28 @@
523 - dnl XXX I don't understand why this is even necessary.
524 --have_libarchive=""
525 --orig_LIBS="$LIBS"
526 --AC_CHECK_LIB(archive, archive_read_new, [LIBS="$LIBS -larchive"])
527 --AC_MSG_CHECKING(whether libarchive works the way I expect)
528 --AC_TRY_LINK([#include <archive.h>], [
529 -- struct archive *x;
530 -- const char *s = "bogus.zip";
531 -- x = archive_read_new();
532 -- archive_read_support_format_all(x);
533 -- archive_read_open_file(x, s, 10240);
534 --], have_libarchive="yes")
535 --if test "x$have_libarchive" = "x"; then
536 -- LIBS="$orig_LIBS"
537 -- AC_MSG_RESULT(no)
538 --else
539 -- AC_MSG_RESULT(yes)
540 -- AC_DEFINE(HAVE_LIBARCHIVE)
541 --fi
542 -+AC_ARG_WITH([libarchive], [AS_HELP_STRING([--without-libarchive], [Disable libarchive support.])],
543 -+ [], [with_libarchive=maybe])
544 -+AS_IF([test "x$with_libarchive" != "xno"],
545 -+ [
546 -+ have_libarchive=""
547 -+ orig_LIBS="$LIBS"
548 -+ AC_CHECK_LIB(archive, archive_read_new, [LIBS="$LIBS -larchive"])
549 -+ AC_MSG_CHECKING(whether libarchive works the way I expect)
550 -+ AC_TRY_LINK([#include <archive.h>], [
551 -+ struct archive *x;
552 -+ const char *s = "bogus.zip";
553 -+ x = archive_read_new();
554 -+ archive_read_support_format_all(x);
555 -+ archive_read_open_file(x, s, 10240);
556 -+ ], have_libarchive="yes")
557 -+ if test "x$have_libarchive" = "x"; then
558 -+ LIBS="$orig_LIBS"
559 -+ AC_MSG_RESULT(no)
560 -+ AS_IF([test "x$with_libarchive" = "xyes"],
561 -+ [AC_MSG_ERROR([--with-libarchive was specified but libarchive could not be found. Please do not specify --with-libarchive or install libarchive.])])
562 -+ else
563 -+ AC_MSG_RESULT(yes)
564 -+ AC_DEFINE(HAVE_LIBARCHIVE)
565 -+ fi])
566 -
567 - dnl -----
568 - AC_ARG_WITH(ssl,
569 -
570
571 diff --git a/net-irc/epic5/files/epic5-1.1.2-perl-automagic-as-needed.patch b/net-irc/epic5/files/epic5-1.1.2-perl-automagic-as-needed.patch
572 deleted file mode 100644
573 index e211fa14b27..00000000000
574 --- a/net-irc/epic5/files/epic5-1.1.2-perl-automagic-as-needed.patch
575 +++ /dev/null
576 @@ -1,114 +0,0 @@
577 -From: Nathan Phillip Brink <binki@g.o>
578 -Subject: Fix perl being automagic and to be safe with
579 - LDFLAGS=-Wl,--as-needed.
580 -
581 ---- a/configure.in
582 -+++ b/configure.in
583 -@@ -1033,37 +1033,38 @@
584 - dnl
585 - dnl Perl support?
586 - dnl
587 --AC_ARG_WITH(perl,
588 --[ --with-perl[=PATH_TO_PERL_EXE] Compile with perl support.],
589 --[
590 -- perlexe=$withval
591 --],
592 -- perlexe=yes
593 --)
594 --
595 --if test "x$perlexe" = "xyes"; then
596 -- perlexe=perl
597 --fi
598 --
599 --if test "x$perlexe" = "xno"; then
600 -+AC_ARG_WITH([perl], [AS_HELP_STRING([--with-perl=[PATH_TO_PERL_EXE]], [Compile with perl support.])],
601 -+ [], [with_perl=maybe])
602 -+AS_IF([test "x$with_perl" = "xno"],
603 -+ [
604 - AC_MSG_CHECKING(whether to support Perl)
605 - AC_MSG_RESULT(no)
606 --else
607 -- AC_CHECK_PROG(PERLPROG, $perlexe, "yes", "no")
608 -- AC_MSG_CHECKING(whether to support Perl)
609 -- if test $PERLPROG != "yes" ; then
610 -+ ],
611 -+ [
612 -+ with_perl_errormsg="You specified --with-perl=$with_perl but I could not find a working perl. Please run ./configure with --without-perl or specify a path to a working perl executable."
613 -+ AS_IF([test "x$with_perl" = "xyes" -o "x$with_perl" = "xmaybe"],
614 -+ [perlexe=perl],
615 -+ [perlexe="$with_perl"])
616 -+ dnl Allow a full path to be specified in --with-perl
617 -+ AS_IF([test -x "$perlexe"],
618 -+ [PERLPROG=yes],
619 -+ [AC_CHECK_PROG(PERLPROG, $perlexe, "yes", "no")])
620 -+ AC_MSG_CHECKING([whether to support Perl])
621 -+ if test $PERLPROG != "yes" ; then
622 -+ AS_IF([test "x$with_perl" != "xmaybe"],
623 -+ [AC_MSG_ERROR([$with_perl_errormsg])])
624 - AC_MSG_RESULT(no)
625 - else
626 - AC_MSG_RESULT(yes)
627 - PERLCFLAGS=`$perlexe -MExtUtils::Embed -e ccopts`
628 -- PERLLDFLAGS=`$perlexe -MExtUtils::Embed -e ldopts`
629 -+ PERLLIBS=`$perlexe -MExtUtils::Embed -e ldopts`
630 -
631 - AC_MSG_CHECKING(whether embedded perl works the way I expect)
632 - have_embedded_perl="no"
633 - old_CFLAGS="$CFLAGS"
634 -- old_LDFLAGS="$LDFLAGS"
635 -+ old_LIBS="$LIBS"
636 - CFLAGS="$CFLAGS $PERLCFLAGS"
637 -- LDFLAGS="$LDFLAGS $PERLLDFLAGS"
638 -+ LIBS="$LIBS $PERLLIBS"
639 - AC_TRY_RUN([
640 - #include <EXTERN.h>
641 - #include <perl.h>
642 -@@ -1101,20 +1102,22 @@
643 - have_embedded_perl="no",:)
644 -
645 - CFLAGS="$old_CFLAGS"
646 -- LDFLAGS="$old_LDFLAGS"
647 -+ LIBS="$old_LIBS"
648 - if test $have_embedded_perl = "yes" ; then
649 - AC_MSG_RESULT(yes)
650 - AC_DEFINE(HAVE_PERL)
651 - AC_DEFINE(PERLCFLAGS)
652 -- AC_DEFINE(PERLLDFLAGS)
653 -+ AC_DEFINE(PERLLIBS)
654 - PERLDOTOH="perl.o"
655 - else
656 -+ AS_IF([test "x$with_perl" != "xmaybe"],
657 -+ [AC_MSG_ERROR([$with_perl_errormsg])])
658 - PERLCFLAGS=""
659 -- PERLLDFLAGS=""
660 -+ PERLLIBS=""
661 - AC_MSG_RESULT(no, sorry)
662 - PERLCFLAGS=""
663 -- PERLLDFLAGS=""
664 -+ PERLLIBS=""
665 - fi
666 - fi
667 --fi
668 -+ ])
669 -
670 -@@ -1392,7 +1395,7 @@
671 - AC_SUBST(TCLLIBS)
672 - AC_SUBST(PERLDOTOH)
673 - AC_SUBST(PERLCFLAGS)
674 --AC_SUBST(PERLLDFLAGS)
675 -+AC_SUBST(PERLLIBS)
676 - AC_SUBST(WSERV_BIN)
677 - AC_SUBST(WSERV_INSTALL)
678 - AC_SUBST(bindir)
679 -
680 ---- a/source/Makefile.in
681 -+++ b/source/Makefile.in
682 -@@ -38,7 +38,7 @@
683 - epic5: $(OBJECTS)
684 - sh info.c.sh
685 - $(CC) $(CFLAGS) $(INCLUDES) -c info.c
686 -- $(CC) $(CFLAGS) $(LDFLAGS) -o epic5 $(OBJECTS) info.o @PERLLDFLAGS@ @TCLLIBS@ @RUBYLIBS@ $(LIBS)
687 -+ $(CC) $(CFLAGS) $(LDFLAGS) -o epic5 $(OBJECTS) info.o @PERLLIBS@ @TCLLIBS@ @RUBYLIBS@ $(LIBS)
688 - $(RM) info.c info.o
689 - clean::
690 - $(RM) epic5 $(OBJECTS)