From c37e3b996ace3e8ad1392cb6bf0427beef0c093f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Sun, 3 Jan 2016 22:09:23 +0200 Subject: [PATCH] fix findutils --- system/base/findutils/actions.py | 7 ++----- system/base/findutils/pspec.xml | 3 +++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/system/base/findutils/actions.py b/system/base/findutils/actions.py index 8d1164b4..841e6a2c 100644 --- a/system/base/findutils/actions.py +++ b/system/base/findutils/actions.py @@ -10,13 +10,10 @@ from pisi.actionsapi import pisitools from pisi.actionsapi import get def setup(): - # write sed commands using pisitools.dosed :) - shelltools.system('sed -i "/^SUBDIRS/s/locate//" Makefile.in') - #shelltools.system('sed -i "/gets is a security hole/d" gnulib/lib/stdio.in.h') - shelltools.export("CFLAGS", "%s -D_GNU_SOURCE" % get.CFLAGS()) autotools.configure("--enable-nls \ + --localstatedir=/var/lib/locate \ --without-included-regex \ --disable-rpath \ --disable-assert \ @@ -31,6 +28,6 @@ def check(): autotools.make("check") def install(): - autotools.install() + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) pisitools.dodoc("ChangeLog", "NEWS", "TODO", "README") diff --git a/system/base/findutils/pspec.xml b/system/base/findutils/pspec.xml index e50e0dee..617fa1f9 100644 --- a/system/base/findutils/pspec.xml +++ b/system/base/findutils/pspec.xml @@ -15,6 +15,7 @@ http://ftp.gnu.org/pub/gnu/findutils/findutils-4.6.0.tar.gz gettext-devel + texinfo @@ -23,10 +24,12 @@ /usr/bin /usr/lib/find + /usr/libexec /usr/share/doc /usr/share/man /usr/share/info /usr/share/locale + /var