Merge pull request #4853 from StevenHessing/noddos
[feed/packages.git] / utils / smstools3 / Makefile
index 06208714651cc0cf46961688e75baabae711457a..6d31f01d5942f694fadc242b181c6571e0e292b1 100644 (file)
@@ -19,7 +19,7 @@ PKG_BUILD_PARALLEL:=0
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://smstools3.kekekasvi.com/packages/
-PKG_MD5SUM:=0241ef60e646fac1a06254a848e61ed7
+PKG_HASH:=ed00ffaeaa312a5b4f969f4e97a64603a866bbe16e393ea02f5bf05234814d59
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
 
@@ -40,7 +40,7 @@ define Package/smstools3/description
 endef
 
 TARGET_CFLAGS += -D NUMBER_OF_MODEMS=1
-TARGET_CFLAGS += -D USE_ICONV
+TARGET_CFLAGS += $(if $(ICONV_FULL),-D USE_ICONV)
 TARGET_CFLAGS += -D DISABLE_INET_SOCKET
 TARGET_CFLAGS += -W -Wall
 TARGET_CFLAGS += -D_FILE_OFFSET_BITS=64