...
 
Commits (9)
gauche (0.9.6-7) UNRELEASED; urgency=medium
* debian/rules: Use dh_auto_configure.
-- NIIBE Yutaka <gniibe@fsij.org> Sat, 06 Oct 2018 09:07:43 +0900
gauche (0.9.6-6) unstable; urgency=medium
* debian/patches/44_endian_not_asm_byteorder_h.patch: New.
* libgauche-0.9-0.symbols: Update for ppc64, ppc64el, s390x, mips,
armel, mips64el, armhf, hppa, mipsel and ia64 (notyet: alpha, x32).
......
This diff is collapsed.
Description: Reproducible build: filter CFLAGS
Description: Reproducible build: filter CFLAGS's -fdebug-prefix-map
Author: NIIBE Yutaka <gniibe@fsij.org>
Last-Update: 2018-10-05
Last-Update: 2018-10-06
Index: gauche/configure.ac
===================================================================
--- gauche.orig/configure.ac
+++ gauche/configure.ac
@@ -375,7 +375,7 @@ AC_SUBST(LINKGAUCHE)
dnl put the args to the configure in gauche-config script for later use.
dnl the use of ac_configure_args depends on autoconf 2.52.
-GAUCHE_CONFIGURE_ARGS=`echo "$ac_configure_args" | sed 's/@<:@\\"\`\$@:>@/\\\\&/g'`
+GAUCHE_CONFIGURE_ARGS=`echo "$ac_configure_args" | sed 's/@<:@\\"\`\$@:>@/\\\\&/g' 's/-fdebug-prefix-map=@<:@^ @:>@* //'`
AC_SUBST(GAUCHE_CONFIGURE_ARGS)
dnl ==========================================================
@@ -415,7 +415,7 @@ fi
dnl Safe default CFLAGS (usually -g -O2 if you're using gcc, empty otherwise).
dnl If the user overrides CFLAGS during configure, which is recorded.
dnl This information is used when configuring extensions.
-DEFAULT_CFLAGS="$CFLAGS"
+DEFAULT_CFLAGS="$(echo "$CFLAGS" | sed 's/-fdebug-prefix-map=[^ ]* //')"
+DEFAULT_CFLAGS="$(echo "$CFLAGS" | sed 's/-fdebug-prefix-map=@<:@^ @:>@* //')"
AC_SUBST(DEFAULT_CFLAGS)
dnl ===========================================================
......@@ -14,14 +14,10 @@ override_dh_auto_clean:
# rm -f configure config.sub config.guess
override_dh_auto_configure:
ac_cv_prog_OPENSSL="" ./configure --prefix=/usr \
--includedir=/usr/include --mandir=/usr/share/man \
--infodir=/usr/share/info --sysconfdir=/etc \
--localstatedir=/var \
--disable-maintainer-mode --disable-dependency-tracking \
dh_auto_configure -- --libdir=\$${prefix}/lib --libexecdir=\$${prefix}/lib \
--enable-multibyte=utf-8 --enable-ipv6 --enable-threads=pthreads \
--with-libatomic-ops=no \
--with-slib=/usr/share/slib EXTRA_TEST_LIBS=-lpthread
--with-libatomic-ops=no --with-slib=/usr/share/slib \
ac_cv_prog_OPENSSL="" EXTRA_TEST_LIBS=-lpthread
override_dh_auto_install:
make DESTDIR=$(CURDIR)/debian/tmp slibcat-in-place install-pkg install-doc