ports/graphics/geeqie/files/patch-configure.ac
Matthias Andree 4e067fe591 graphics/geeqie: add missing dependencies, patch useless warning
This adds missing dependencies for nondefault options.
(Two items for USE_GNOME actually snuck into the previous commit already,
my apologies for missing that in the commit message. r557035)

It also patches out a useless "CFLAGS+=... not found" warning from
the "make configure" phase. We can't currently use -Werror anyways
for building geeqie with our GTK3 version (deprecation warnings).

Approved by:	portmgr@ (blanket, dependencies)
2020-12-05 01:42:46 +00:00

29 lines
1.1 KiB
Text

--- configure.ac.orig 2020-11-20 21:36:33 UTC
+++ configure.ac
@@ -18,7 +18,7 @@ AC_PREREQ(2.57)
AC_INIT([geeqie], 1.6, [https://github.com/BestImageViewer/geeqie/issues], [], [http://www.geeqie.org/])
# Add -Werror to the default CFLAGS
-CFLAGS+=" -Werror -Wno-error=deprecated-declarations -Wno-error=sign-compare -Wno-error=return-type"
+#CFLAGS+=" -Werror -Wno-error=deprecated-declarations -Wno-error=sign-compare -Wno-error=return-type"
# Check for rightly dirs
AC_CONFIG_SRCDIR([src/main.c])
@@ -525,7 +525,7 @@ AC_ARG_ENABLE([lua],
[liblua=$enableval], [liblua=auto])
if test "x${liblua}" != "xno"; then
- PKG_CHECK_MODULES(LUA, lua5.3 >= 5.3,
+ PKG_CHECK_MODULES(LUA, lua-5.3 >= 5.3,
[
HAVE_LUA=yes
AC_DEFINE(HAVE_LUA, 1, [define to enable lua support])
@@ -688,7 +688,7 @@ AC_SUBST(DJVU_LIBS)
# Markdown support
# ----------------------------------------------------------------------
-AM_CONDITIONAL(HAVE_MARKDOWN, [ "$(command -v markdown)" ])
+AM_CONDITIONAL(HAVE_MARKDOWN, [ "$(false)" ])
# _NL_TIME_FIRST_WEEKDAY support
# note that it is an enum and not a define