app-editors/xemacs: Fix configure failure

Closes: https://bugs.gentoo.org/959683
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
Ulrich Müller
2025-07-08 21:54:07 +02:00
parent 8e5758c4e2
commit df36d01bfd
2 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
https://bugs.gentoo.org/959683
--- xemacs-21.5.36/configure.ac
+++ xemacs-21.5.36/configure.ac
@@ -3697,7 +3697,7 @@
fi
fi
- if test -n "$libpq_fe_h_file" -a "$have_libpq" = "yes"
+ if test -n "$libpq_fe_h_file" -a "$have_libpq" = "yes" \
-a "$with_modules" = "yes"; then
with_postgresql=yes
AC_DEFINE(HAVE_POSTGRESQL)

View File

@@ -64,6 +64,7 @@ src_prepare() {
eapply "${FILESDIR}/${PN}-21.5.35-unknown-command-test.patch"
eapply "${FILESDIR}/${P}-failing-tests.patch"
eapply "${FILESDIR}/${P}-failing-tests-2.patch"
eapply "${FILESDIR}/${P}-configure-postgresql.patch"
eapply_user
eautoconf