asterisk-chan-sccp: remove iostreams workaround

The iostreams patch was dropped from the asterisk 13 package. The
workaround can go away.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
Sebastian Kemper 2018-03-09 15:30:20 +01:00
parent 45787332e5
commit b9c6eabfde

View file

@ -93,17 +93,6 @@ endef
Package/asterisk13-chan-sccp/conffiles = $(Package/conffiles/Default)
Package/asterisk15-chan-sccp/conffiles = $(Package/conffiles/Default)
# Asterisk 13 gets mistaken for Asterisk 15 because it was patched to include
# iostream support. To get it detected correctly make it impossible for the
# build system to find the iostream header.
define Build/Prepare
$(call Build/Prepare/Default)
ifeq ($(BUILD_VARIANT),asterisk13)
$(SED) 's|asterisk/iostream.h|asterisk/iostream.404|' \
$(PKG_BUILD_DIR)/autoconf/asterisk.m4
endif
endef
define Package/Install/Default
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/asterisk/sccp.conf $(1)/etc/asterisk