summaryrefslogtreecommitdiffstats
path: root/bind97-exportlib.patch
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2010-10-07 16:20:51 +0200
committerAdam Tkac <atkac@redhat.com>2010-10-07 16:20:51 +0200
commit9b81ef32b11a3f871e6d4a9c354ba68c88bd0992 (patch)
treede43d327b8c73c970ccdc304a0bdcffbd06df879 /bind97-exportlib.patch
parent5856f09a63935717602276484314801d61622f51 (diff)
downloadbind-9b81ef32b11a3f871e6d4a9c354ba68c88bd0992.tar.gz
bind-9b81ef32b11a3f871e6d4a9c354ba68c88bd0992.tar.xz
bind-9b81ef32b11a3f871e6d4a9c354ba68c88bd0992.zip
Ship -devel subpkg for internal libs, dnsperf needs it.
Signed-off-by: Adam Tkac <atkac@redhat.com>
Diffstat (limited to 'bind97-exportlib.patch')
-rw-r--r--bind97-exportlib.patch33
1 files changed, 31 insertions, 2 deletions
diff --git a/bind97-exportlib.patch b/bind97-exportlib.patch
index 70f7c72..01eb462 100644
--- a/bind97-exportlib.patch
+++ b/bind97-exportlib.patch
@@ -1,6 +1,35 @@
+diff -up bind-9.7.2-P2/isc-config.sh.in.exportlib bind-9.7.2-P2/isc-config.sh.in
+--- bind-9.7.2-P2/isc-config.sh.in.exportlib 2010-10-07 16:02:23.111647823 +0200
++++ bind-9.7.2-P2/isc-config.sh.in 2010-10-07 16:04:24.211597326 +0200
+@@ -20,6 +20,8 @@
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+ exec_prefix_set=
++libdir=@libdir@
++includedir=@includedir@
+
+ usage()
+ {
+@@ -115,14 +117,14 @@ if test x"$echo_exec_prefix" = x"true" ;
+ echo $exec_prefix
+ fi
+ if test x"$echo_cflags" = x"true"; then
+- includes="-I${exec_prefix}/include"
++ includes="-I${includedir}"
+ if test x"$libisc" = x"true"; then
+ includes="$includes @ALWAYS_DEFINES@ @STD_CINCLUDES@ @STD_CDEFINES@ @CCOPT@"
+ fi
+ echo $includes
+ fi
+ if test x"$echo_libs" = x"true"; then
+- libs=-L${exec_prefix}/lib
++ libs="-L${libdir}"
+ if test x"$liblwres" = x"true" ; then
+ libs="$libs -llwres"
+ fi
diff -up bind-9.7.2-P2/lib/export/isc/Makefile.in.exportlib bind-9.7.2-P2/lib/export/isc/Makefile.in
---- bind-9.7.2-P2/lib/export/isc/Makefile.in.exportlib 2010-10-07 14:42:09.563655036 +0200
-+++ bind-9.7.2-P2/lib/export/isc/Makefile.in 2010-10-07 14:42:16.923651967 +0200
+--- bind-9.7.2-P2/lib/export/isc/Makefile.in.exportlib 2010-06-10 01:49:43.000000000 +0200
++++ bind-9.7.2-P2/lib/export/isc/Makefile.in 2010-10-07 15:48:59.231983035 +0200
@@ -101,6 +101,10 @@ SRCS = @ISC_EXTRA_SRCS@ \
LIBS = @LIBS@