asterisk13: clean up configure stage
authorSebastian Kemper <sebastian_ml@gmx.net>
Sat, 19 Aug 2017 14:27:01 +0000 (16:27 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sat, 19 Aug 2017 14:27:03 +0000 (16:27 +0200)
- Remove some unneeded parentheses.
- Remove $(SITE_VARS) as it is not used.
- Remove --without-curl and --with-uuid=... from configure arguments as
  they've been removed from configure.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/asterisk-13.x/Makefile

index fbd8eb88d68476d9872b2775cab418f0e90d7ff5..8b7cf3df106a1955bb39c1f757b0bc4ff4aec922 100644 (file)
@@ -190,7 +190,7 @@ CONFIGURE_ARGS+= \
        --without-execinfo \
        --without-bluetooth \
        --without-cap \
-       $(if $(CONFIG_PACKAGE_$(PKG_NAME)-curl),--with-libcurl="$(STAGING_DIR)/usr",--without-curl) \
+       $(if $(CONFIG_PACKAGE_$(PKG_NAME)-curl),--with-libcurl="$(STAGING_DIR)/usr") \
        --without-curses \
        --with-gsm=internal \
        --without-gtk2 \
@@ -222,7 +222,6 @@ CONFIGURE_ARGS+= \
        --without-tds \
        --without-termcap \
        --without-tinfo \
-       --with-uuid="$(STAGING_DIR)/usr" \
        --without-vorbis \
        --without-vpb \
        --with-z="$(STAGING_DIR)/usr" \
@@ -246,11 +245,10 @@ endif
 endef
 
 define Build/Configure
-       (cd $(PKG_BUILD_DIR); \
-               ./bootstrap.sh; \
-       );
-       $(call Build/Configure/Default,,$(SITE_VARS))
-       (cd $(PKG_BUILD_DIR)/menuselect; \
+       cd $(PKG_BUILD_DIR); \
+               ./bootstrap.sh
+       $(call Build/Configure/Default)
+       cd $(PKG_BUILD_DIR)/menuselect; \
                ./bootstrap.sh; \
                CC="$(HOSTCC)" \
                CFLAGS="$(HOST_CFLAGS) -I$(STAGING_DIR_HOSTPKG)/include/libxml2" \
@@ -259,8 +257,7 @@ define Build/Configure
                ac_cv_path_ac_pt_CONFIG_LIBXML2=$(STAGING_DIR_HOSTPKG)/bin/xml2-config \
                ./configure \
                $(HOST_CONFIGURE_ARGS) \
-               $(AST_MENUSELECT_OPTS) \
-       );
+               $(AST_MENUSELECT_OPTS)
 endef
 
 define Build/Compile