aboutsummaryrefslogtreecommitdiff
path: root/package/sed
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <peter@korsgaard.com>2015-10-20 22:54:24 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2015-10-20 22:54:24 +0200
commitfdab16744238f231ea9a81e38f7e37d24cc5e55a (patch)
tree01c5a9cdc07c5fc4316ab229efef812894365632 /package/sed
parent6b90ce5454e2b68df0c38af81afaefb7af6a1bf3 (diff)
downloadbuildroot-fdab16744238f231ea9a81e38f7e37d24cc5e55a.tar.gz
buildroot-fdab16744238f231ea9a81e38f7e37d24cc5e55a.tar.bz2
sed: directly install binary into /bin
Instead of having to move it after installation, which doesn't work with the merged /usr option. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/sed')
-rw-r--r--package/sed/sed.mk8
1 files changed, 1 insertions, 7 deletions
diff --git a/package/sed/sed.mk b/package/sed/sed.mk
index b819300404..71c62d0fd2 100644
--- a/package/sed/sed.mk
+++ b/package/sed/sed.mk
@@ -10,7 +10,7 @@ SED_LICENSE = GPLv3
SED_LICENSE_FILES = COPYING
SED_CONF_OPTS = \
- --bindir=/usr/bin \
+ --bindir=/bin \
--libdir=/lib \
--libexecdir=/usr/lib \
--sysconfdir=/etc \
@@ -19,10 +19,4 @@ SED_CONF_OPTS = \
--infodir=/usr/share/info \
--include=$(STAGING_DIR)/usr/include
-define SED_MOVE_BINARY
- mv $(TARGET_DIR)/usr/bin/sed $(TARGET_DIR)/bin/
-endef
-
-SED_POST_INSTALL_TARGET_HOOKS = SED_MOVE_BINARY
-
$(eval $(autotools-package))