ports/x11-toolkits/gtk30/files/patch-configure
2021-08-28 13:17:20 +00:00

28 lines
809 B
Text

--- configure.orig 2021-07-08 12:18:36 UTC
+++ configure
@@ -4139,9 +4139,15 @@ GAIL_LT_CURRENT_MINUS_AGE=0
# Workaround for https://bugzilla.gnome.org/show_bug.cgi?id=721346 until fixed upstream in autoconf-archive
if test "$cross_compiling" = "no"; then
+ if test -n "$CC"; then
+ CC_FOR_BUILD=$CC
+ fi
if test -n "$CFLAGS"; then
CFLAGS_FOR_BUILD=$CFLAGS
fi
+ if test -n "$CPP"; then
+ CPP_FOR_BUILD=$CPP
+ fi
if test -n "$CPPFLAGS"; then
CPPFLAGS_FOR_BUILD=$CPPFLAGS
fi
@@ -27875,9 +27881,7 @@ fi
if test "$have_cups" = "yes"; then
GTK_PRINT_BACKENDS="$GTK_PRINT_BACKENDS,cups"
fi
-if test "$have_papi" != "yes" -a "$have_cups" != "yes"; then
GTK_PRINT_BACKENDS="$GTK_PRINT_BACKENDS,lpr"
-fi
################################################################