sed: directly install binary into /bin
authorPeter Korsgaard <peter@korsgaard.com>
Tue, 20 Oct 2015 20:54:24 +0000 (22:54 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 20 Oct 2015 20:54:24 +0000 (22:54 +0200)
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>
package/sed/sed.mk

index b819300404328112fe58d13a4cdc338abbe36293..71c62d0fd27e7da824adea80ec5f14f87ccc6dd1 100644 (file)
@@ -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))