diff options
Diffstat (limited to 'm4')
-rwxr-xr-x | m4/Pkgfile | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/m4/Pkgfile b/m4/Pkgfile index 79e17ad8f..510ea1051 100755 --- a/m4/Pkgfile +++ b/m4/Pkgfile @@ -9,14 +9,18 @@ release=1 source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.xz) build() { - cd $name-$version -./configure --prefix=/usr \ - --enable-threads\ - --mandir=/usr/share/man \ - --infodir=/usr/share/info -make -make DESTDIR=$PKG install - if [ -f $PKG/usr/share/info/dir ]; then - rm $PKG/usr/share/info/dir + cd $name-$version + + sed -i '/gets is a security hole/d' lib/stdio.in.h + + ./configure --prefix=/usr \ + --enable-threads \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make + make DESTDIR=$PKG install + + if [ -f $PKG/usr/share/info/dir ]; then + rm $PKG/usr/share/info/dir fi } |