summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm/rpm/rpm-no-perl-urpm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm/rpm-no-perl-urpm.patch')
-rw-r--r--meta/recipes-devtools/rpm/rpm/rpm-no-perl-urpm.patch47
1 files changed, 0 insertions, 47 deletions
diff --git a/meta/recipes-devtools/rpm/rpm/rpm-no-perl-urpm.patch b/meta/recipes-devtools/rpm/rpm/rpm-no-perl-urpm.patch
deleted file mode 100644
index 58182296cf..0000000000
--- a/meta/recipes-devtools/rpm/rpm/rpm-no-perl-urpm.patch
+++ /dev/null
@@ -1,47 +0,0 @@
1Disable perl-URPM support
2
3This causes a configure failure when perl-URPM is not used.
4
5| configure.ac:1159: required file `perl-URPM/Makefile.PL.in' not found
6| configure.ac:1159: required file `perl-URPM/Makefile.in' not found
7
8Upstream-Status: Inappropriate [disable feature]
9
10Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
11
12Index: rpm-5.4.14/configure.ac
13===================================================================
14--- rpm-5.4.14.orig/configure.ac
15+++ rpm-5.4.14/configure.ac
16@@ -1186,30 +1186,10 @@ AC_SUBST(WITH_PERL_SUBDIR)
17 AC_SUBST(WITH_PERL_SUBPACKAGE)
18 AC_SUBST(WITH_PERL_LIBS)
19
20-dnl # optional Perl-URPM language bindings
21+dnl # disable Perl-URPM language bindings
22 WITH_PERL_URPM_SUBDIR=""
23 WITH_PERL_URPM_SUBPACKAGE=0
24 WITH_PERL_URPM_LIBS=""
25-if test ".$WITH_PTHREADS" = .yes; then
26- WITH_PERL_URPM_LIBS="$LIBS"
27-fi
28-AC_ARG_WITH(perl-urpm, AS_HELP_STRING([--with-perl-urpm], [build with Perl URPM language bindings]), [
29- if test ".$withval" != .no; then
30- PERL_URPM_INSTALLDIRS=""
31- if test "$withval" == "vendor"; then
32- PERL_URPM_INSTALLDIRS="'INSTALLDIRS' => 'vendor',"
33- fi
34- if test "$withval" == "site"; then
35- PERL_URPM_INSTALLDIRS="'INSTALLDIRS' => 'site',"
36- fi
37- AC_DEFINE_UNQUOTED([PERL_URPM_INSTALLDIRS], [$PERL_URPM_INSTALLDIRS], [Perl install directory (vendor/site)])
38- AC_SUBST(PERL_URPM_INSTALLDIRS)
39- WITH_PERL_URPM_SUBDIR=perl-URPM
40- WITH_PERL_URPM_SUBPACKAGE=1
41- AC_CONFIG_FILES([perl-URPM/Makefile.PL])
42- AC_CONFIG_FILES([perl-URPM/Makefile])
43- fi
44-])
45 AC_SUBST(WITH_PERL_URPM_SUBDIR)
46 AC_SUBST(WITH_PERL_URPM_SUBPACKAGE)
47 AC_SUBST(WITH_PERL_URPM_LIBS)