]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
bash: Buildfixes.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 26 Nov 2009 23:09:07 +0000 (00:09 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 26 Nov 2009 23:09:07 +0000 (00:09 +0100)
pkgs/core/bash/bash.nm

index aaedcbfd124dea80b5fd758a13cfbd6eae939aba..b84656ed911ffa4ae12ea6674d803cdb942983a4 100644 (file)
@@ -41,7 +41,7 @@ define PKG_DESCRIPTION
        to conform to the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard.
 endef
 
-PKG_BUILD_DEPS+= bison
+PKG_BUILD_DEPS+= bison m4
 PKG_DEPS      += readline
 
 PKG_TARBALL    = $(THISAPP).tar.gz
@@ -90,8 +90,10 @@ define STAGE_INSTALL
        cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT)
 
        # Bash startup files
-       cp -avf $(DIR_SOURCE)/bash/{bashrc,profile,shells} $(BUILDROOT)/etc
+       cp -avf $(DIR_SOURCE)/{bashrc,profile,shells} $(BUILDROOT)/etc
 
        # /etc/profile.d
        cp -vf $(DIR_SOURCE)/profile.d/* $(BUILDROOT)/etc/profile.d
+
+       ln -svf bash $(BUILDROOT)/bin/sh
 endef