diff --git a/srcpkgs/gambit/template b/srcpkgs/gambit/template index 3a1d9e157ea..01da1876b90 100644 --- a/srcpkgs/gambit/template +++ b/srcpkgs/gambit/template @@ -1,7 +1,7 @@ # Template file for 'gambit' pkgname=gambit version=4.8.8 -revision=1 +revision=2 build_style=gnu-configure configure_args=" --libdir=/usr/lib/gambit --docdir=/usr/share/doc/gambit @@ -24,4 +24,5 @@ post_install() { for f in ${DESTDIR}/usr/lib/gambit/lib*.so.*; do ln -sfr $f ${DESTDIR}/usr/lib done + sed -i -e "s|\(-specs=.*hardened-ld\)||g" -e "s|\(-specs=.*hardened-cc1\)||g" ${DESTDIR}/usr/bin/gambcomp-C }