1 |
binki 11/07/01 02:54:40 |
2 |
|
3 |
Added: epic4-2.10.1-perl.patch |
4 |
epic4-2.10.1-make-recursion.patch |
5 |
Log: |
6 |
Bump to epic4-2.10.1, with gentoo-prefix support and EAPI=4 and some build fixes. |
7 |
|
8 |
(Portage version: 2.2.0_alpha41-r1/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 net-irc/epic4/files/epic4-2.10.1-perl.patch |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/epic4/files/epic4-2.10.1-perl.patch?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/epic4/files/epic4-2.10.1-perl.patch?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: epic4-2.10.1-perl.patch |
17 |
=================================================================== |
18 |
From: Nathan Phillip Brink <binki@g.o> |
19 |
Subject: Fix broken perl detection somewhat. |
20 |
|
21 |
--- a/configure.in |
22 |
+++ b/configure.in |
23 |
@@ -636,25 +636,27 @@ |
24 |
dnl |
25 |
|
26 |
AC_MSG_CHECKING(whether to support Perl) |
27 |
-AC_ARG_WITH(perl, |
28 |
-[ --with-perl[=PATH] Compile with perl support.], |
29 |
-[ test -z "$withval" && withval=yes ], |
30 |
-) |
31 |
-test "xno" != "x$withval" && for base in $withval /usr/local /usr / |
32 |
-do |
33 |
- FOUND= |
34 |
- for ext in so a dll ; do |
35 |
- test -r $base/lib/libperl.$ext && FOUND=1 |
36 |
- test -r $base/libperl.$ext && FOUND=1 |
37 |
- done |
38 |
- test -n "$FOUND" || continue |
39 |
- AC_MSG_RESULT(yes) |
40 |
- LIBS="$LIBS `perl -MExtUtils::Embed -e ldopts`" |
41 |
- PERLDOTOH="perl.o" |
42 |
- AC_DEFINE(PERL) |
43 |
- break |
44 |
-done |
45 |
-test -z "$PERLDOTOH" && AC_MSG_RESULT(no) |
46 |
+AC_ARG_WITH([perl], |
47 |
+ [AS_HELP_STRING([--with-perl[=PATH]], [Compile with perl support.])], |
48 |
+ [], |
49 |
+ [with_perl=maybe]) |
50 |
+AS_IF([test "xno" != "x$with_perl"], |
51 |
+ [ |
52 |
+ PERL_LIBS="`perl -MExtUtils::Embed -e ldopts`" |
53 |
+ AS_IF([test -n "$PERL_LIBS"], |
54 |
+ [ |
55 |
+ AC_MSG_RESULT([yes]) |
56 |
+ LIBS="$LIBS $PERL_LIBS" |
57 |
+ AC_DEFINE([PERL], [], [Define if perl support should be compiled]) |
58 |
+ PERLDOTOH="perl.o" |
59 |
+ ], |
60 |
+ [ |
61 |
+ AC_MSG_RESULT([no]) |
62 |
+ AS_IF([test "x$with_perl" != "xmaybe"], |
63 |
+ [AC_MSG_ERROR([You specified --with-perl, but I was unable to find libperl])]) |
64 |
+ ]) |
65 |
+ ]) |
66 |
+ |
67 |
withval='' |
68 |
|
69 |
dnl ---------------------------------------------------------- |
70 |
|
71 |
Diff finished. Thu Jun 30 22:15:26 2011 |
72 |
|
73 |
|
74 |
|
75 |
1.1 net-irc/epic4/files/epic4-2.10.1-make-recursion.patch |
76 |
|
77 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/epic4/files/epic4-2.10.1-make-recursion.patch?rev=1.1&view=markup |
78 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/epic4/files/epic4-2.10.1-make-recursion.patch?rev=1.1&content-type=text/plain |
79 |
|
80 |
Index: epic4-2.10.1-make-recursion.patch |
81 |
=================================================================== |
82 |
--- a/Makefile.in |
83 |
+++ b/Makefile.in |
84 |
@@ -210,6 +210,6 @@ |
85 |
$(RM) Makefile source/Makefile include/sig.inc config.status config.cache config.log include/defs.h source/info.c.sh |
86 |
|
87 |
depend: |
88 |
- (cd source;make depend) |
89 |
+ (cd source;$(MAKE) depend) |
90 |
|
91 |
# This is the end of the file. |