1 |
jer 10/03/30 01:03:17 |
2 |
|
3 |
Added: idnkit-1.0-autotools.patch |
4 |
Log: |
5 |
Respect LDFLAGS thanks to Doktor Notor (bug #263135). |
6 |
(Portage version: 2.2_rc67/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 net-dns/idnkit/files/idnkit-1.0-autotools.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/idnkit/files/idnkit-1.0-autotools.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/idnkit/files/idnkit-1.0-autotools.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: idnkit-1.0-autotools.patch |
15 |
=================================================================== |
16 |
--- configure.in.orig 2003-03-11 00:53:20.000000000 +0100 |
17 |
+++ configure.in 2010-03-12 14:15:24.000000000 +0100 |
18 |
@@ -629,6 +629,41 @@ |
19 |
fi |
20 |
fi |
21 |
|
22 |
+AC_DEFUN(AC_FIND_SYSTEM_SHOBJ,[ |
23 |
+AC_MSG_CHECKING(for $1 shared object) |
24 |
+shobj_name=$1 |
25 |
+shobj_path= |
26 |
+case "$host" in |
27 |
+*-hpux*) |
28 |
+ SOEXT=sl |
29 |
+ ;; |
30 |
+*) |
31 |
+ SOEXT=so |
32 |
+ ;; |
33 |
+esac |
34 |
+for shobj_libdir in /lib /usr/lib; do |
35 |
+ if test -f $shobj_libdir/$shobj_name.$SOEXT; then |
36 |
+ shobj_path=$shobj_libdir/$shobj_name.$SOEXT |
37 |
+ else |
38 |
+ shobj_path=`ls -r $shobj_libdir/$shobj_name.$SOEXT* 2>/dev/null | head -1` |
39 |
+ if test "$shobj_path" != "" -a -f "$shobj_path"; then |
40 |
+ : |
41 |
+ else |
42 |
+ shobj_path= |
43 |
+ fi |
44 |
+ fi |
45 |
+ if test "$shobj_path" != ""; then |
46 |
+ AC_MSG_RESULT($shobj_path) |
47 |
+ shobj_pathsymbol=SOPATH_`echo $shobj_name | sed 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
48 |
+ AC_DEFINE_UNQUOTED($shobj_pathsymbol, "$shobj_path") |
49 |
+ break |
50 |
+ fi |
51 |
+done |
52 |
+if test "$shobj_path" = ""; then |
53 |
+ AC_MSG_RESULT(no) |
54 |
+fi |
55 |
+])dnl |
56 |
+ |
57 |
dnl Find system shared object paths. |
58 |
AC_FIND_SYSTEM_SHOBJ(libc) |
59 |
if test "$install_runidn" = yes ; then |
60 |
--- lib/Makefile.in.orig 2003-03-12 17:14:41.000000000 +0100 |
61 |
+++ lib/Makefile.in 2010-03-12 15:54:35.000000000 +0100 |
62 |
@@ -241,7 +241,7 @@ |
63 |
|
64 |
install-common: |
65 |
$(MKINSTALLDIRS) $(DESTDIR)$(libdir) |
66 |
- $(LIBTOOL) $(INSTALL_DATA) $(LITELIB).la \ |
67 |
+ $(LIBTOOL) --mode=install $(INSTALL_DATA) $(LITELIB).la \ |
68 |
$(DESTDIR)$(libdir)/$(LITELIB).la |
69 |
-[ -f $(DESTDIR)$(libdir)/$(LITELIB).a ] \ |
70 |
&& $(RANLIB) $(DESTDIR)$(libdir)/$(LITELIB).a |
71 |
@@ -262,7 +262,7 @@ |
72 |
|
73 |
install-nolite: |
74 |
$(MKINSTALLDIRS) $(DESTDIR)$(libdir) |
75 |
- $(LIBTOOL) $(INSTALL_DATA) $(LIB).la \ |
76 |
+ $(LIBTOOL) --mode=install $(INSTALL_DATA) $(LIB).la \ |
77 |
$(DESTDIR)$(libdir)/$(LIB).la |
78 |
-[ -f $(DESTDIR)$(libdir)/$(LIB).a ] \ |
79 |
&& $(RANLIB) $(DESTDIR)$(libdir)/$(LIB).a |