mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 06:58:39 +01:00
fish: Fix compilation with libcxx
cxxabi.h is a useless header that libcxx does not include. Remove indent on postint script. It should be on the same as the above section. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
+5
-5
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=fish
|
||||
PKG_VERSION:=3.0.2
|
||||
PKG_RELEASE:=5
|
||||
PKG_RELEASE:=6
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://github.com/fish-shell/fish-shell/releases/download/$(PKG_VERSION)
|
||||
@@ -54,10 +54,10 @@ define Package/fish/postinst
|
||||
grep fish $${IPKG_INSTROOT}/etc/shells || \
|
||||
echo "/usr/bin/fish" >> $${IPKG_INSTROOT}/etc/shells
|
||||
|
||||
# Backwards compatibility
|
||||
if [ -e /bin/fish ] && { [ ! -L /bin/fish ] || [ "$(readlink -fn $${IPKG_INSTROOT}/bin/fish)" != "../$(CONFIGURE_PREFIX)/bin/fish" ]; }; then
|
||||
ln -fs "../$(CONFIGURE_PREFIX)/bin/fish" "$${IPKG_INSTROOT}/bin/fish"
|
||||
fi
|
||||
# Backwards compatibility
|
||||
if [ -e /bin/fish ] && { [ ! -L /bin/fish ] || [ "$(readlink -fn $${IPKG_INSTROOT}/bin/fish)" != "../$(CONFIGURE_PREFIX)/bin/fish" ]; }; then
|
||||
ln -fs "../$(CONFIGURE_PREFIX)/bin/fish" "$${IPKG_INSTROOT}/bin/fish"
|
||||
fi
|
||||
endef
|
||||
|
||||
define Package/fish/postrm
|
||||
|
||||
Reference in New Issue
Block a user