ports/graphics/cairo/files/patch-build_configure.ac.system
Tijl Coosemans 6fd90bd660 graphics/cairo: prepare for autoconf 2.71
- configure.ac contains GTK_DOC_CHECK and the new autoreconf runs
  gtkdocize in that case so add a build dependency.
- fix post-patch commands that patch files which are regenerated by
  autoreconf.
- remove old patches while here.

PR:		263454
2022-05-27 11:11:04 +02:00

17 lines
445 B
Text

--- build/configure.ac.system.orig 2020-11-26 23:20:59 UTC
+++ build/configure.ac.system
@@ -53,11 +53,11 @@ LIBS="$LIBS $LIBM"
AC_CHECK_LIBM
LIBS="$LIBS $LIBM"
-AC_CHECK_LIB(rt, sched_yield)
+AC_CHECK_LIB(c, sched_yield)
has_shm_open=
-AC_CHECK_LIB(rt, shm_open, [
- SHM_LIBS=-lrt
+AC_CHECK_LIB(c, shm_open, [
+ SHM_LIBS=
has_shm_open=yes
], [SHM_LIBS=])
AM_CONDITIONAL(HAVE_SHM, test "x$has_shm_open" = "xyes")