Files
gentoo/sci-electronics/pcb/files/pcb-4.2.2-fix-autotools.patch
David Seifert 79502186a9 sci-electronics/pcb: Bump to version 4.2.2
* EAPI 7
* Disable opengl unconditionally (due to EOL x11-libs/gtkglext)
* Remove USE="static-libs"
* Remove USE="motif"
* Remove USE="xrender"

Bug: https://bugs.gentoo.org/706526
Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
2020-01-26 19:52:22 +01:00

37 lines
1.2 KiB
Diff

1. avoid rebuilding documentation
2. avoid non-portable syntax
--- a/configure.ac
+++ b/configure.ac
@@ -7,6 +7,9 @@
AC_GNU_SOURCE
AC_CONFIG_HEADERS([config.h])
+# avoid rebuilding documentation
+AM_MAINTAINER_MODE
+
##########################################################################
#
# Try to figure out if we are building from git sources.
@@ -1285,11 +1288,6 @@
if test -d $srcdir/doc; then
AC_CONFIG_FILES(doc/Makefile)
fi
-if test -d $srcdir/doc/gs; then
- AC_CONFIG_FILES(doc/gs/Makefile)
- AC_CONFIG_FILES(doc/gs/gafrc)
- AC_CONFIG_FILES(doc/gs/gschemrc)
-fi
if test -d $srcdir/example; then
AC_CONFIG_FILES(example/Makefile)
AC_CONFIG_FILES(example/libraries/Makefile)
--- a/Makefile.am
+++ b/Makefile.am
@@ -15,5 +15,5 @@
MAINTAINERCLEANFILES= $(INTLTOOL_FILES)
ACLOCAL_AMFLAGS = -I m4
-DISTCHECK_CONFIGURE_FLAGS := ${DISTCHECK_CONFIGURE_FLAGS} --disable-update-mime-database --disable-update-desktop-database GTK_UPDATE_ICON_THEME_BIN=true --with-gui=batch
+DISTCHECK_CONFIGURE_FLAGS = ${DISTCHECK_CONFIGURE_FLAGS} --disable-update-mime-database --disable-update-desktop-database GTK_UPDATE_ICON_THEME_BIN=true --with-gui=batch