summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2007-11-11 13:31:12 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2007-11-11 13:31:12 +0000
commita035a6e64ab8d90c2cb9fe8ce7aa497a9120505a (patch)
tree3517b52c9237bb1d5e9a23841f77a1b84e90a023 /sys-libs/pam/files
parentStable on ppc wrt bug 198780 (diff)
downloadgentoo-2-a035a6e64ab8d90c2cb9fe8ce7aa497a9120505a.tar.gz
gentoo-2-a035a6e64ab8d90c2cb9fe8ce7aa497a9120505a.tar.bz2
gentoo-2-a035a6e64ab8d90c2cb9fe8ce7aa497a9120505a.zip
Build xtests directory only during make check, finally should fix bug #194275.
(Portage version: 2.1.3.19)
Diffstat (limited to 'sys-libs/pam/files')
-rw-r--r--sys-libs/pam/files/Linux-PAM-0.99.8.1-xtests.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys-libs/pam/files/Linux-PAM-0.99.8.1-xtests.patch b/sys-libs/pam/files/Linux-PAM-0.99.8.1-xtests.patch
new file mode 100644
index 000000000000..2cd3e950db6d
--- /dev/null
+++ b/sys-libs/pam/files/Linux-PAM-0.99.8.1-xtests.patch
@@ -0,0 +1,18 @@
+This patch makes sure that the xtests programs don't get build when running
+'make all', as they might fail to build (for instance if GLIBC 2.3 is used).
+
+Note that the tests are not executed by default at make check because they
+are anyway broken.
+Index: Linux-PAM-0.99.9.0/xtests/Makefile.am
+===================================================================
+--- Linux-PAM-0.99.9.0.orig/xtests/Makefile.am
++++ Linux-PAM-0.99.9.0/xtests/Makefile.am
+@@ -29,7 +29,7 @@ XTESTS = tst-pam_dispatch1 tst-pam_dispa
+ tst-pam_access4 tst-pam_limits1 tst-pam_succeed_if1 \
+ tst-pam_group1
+
+-noinst_PROGRAMS = $(XTESTS)
++check_PROGRAMS = $(XTESTS)
+
+ xtests: $(XTESTS) run-xtests.sh
+ "$(srcdir)"/run-xtests.sh "$(srcdir)" ${XTESTS}