From c559d71725d530355da5c61ff8a9e3b8231ceb0b Mon Sep 17 00:00:00 2001 From: Francis Lam Date: Sat, 24 Nov 2018 09:12:41 -0800 Subject: [PATCH] cairo: restore reproducibility libtool needs to be patched to not write rpath to targets --- modules/cairo | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/cairo b/modules/cairo index bab70221..647ed2ca 100644 --- a/modules/cairo +++ b/modules/cairo @@ -15,7 +15,13 @@ cairo_configure := \ --disable-xlib --disable-xcb --disable-pdf \ --disable-ps --disable-svg --disable-script \ --disable-ft --disable-fc --disable-pthread \ - --disable-glib --disable-gobject + --disable-gobject \ + && sed \ + -e 's/^hardcode_libdir_flag_spec.*/hardcode_libdir_flag_spec=" -D__LIBTOOL_RPATH_DISABLE__ "/' \ + < libtool \ + > libtool-2 \ + && mv libtool-2 libtool \ + && chmod 755 libtool cairo_target := \ $(MAKE_JOBS) \