summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/libressl/Makefile3
-rw-r--r--package/wget/Makefile2
-rw-r--r--target/config/Config.in.tools2
3 files changed, 5 insertions, 2 deletions
diff --git a/package/libressl/Makefile b/package/libressl/Makefile
index b404751f5..569a9747f 100644
--- a/package/libressl/Makefile
+++ b/package/libressl/Makefile
@@ -15,8 +15,10 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
+include ${ADK_TOPDIR}/mk/host.mk
include $(ADK_TOPDIR)/mk/package.mk
+$(eval $(call HOST_template,LIBRESSL,libressl,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBRESSL,libressl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
XAKE_FLAGS+= GCC_HONOUR_COPTS=s
@@ -32,4 +34,5 @@ libressl-install:
$(CP) $(WRKINST)/usr/lib/lib{crypto,ssl,tls}.so* \
$(IDIR_LIBRESSL)/usr/lib
+include ${ADK_TOPDIR}/mk/host-bottom.mk
include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/wget/Makefile b/package/wget/Makefile
index 07edf440f..9033eb609 100644
--- a/package/wget/Makefile
+++ b/package/wget/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 1
PKG_HASH:= 9f1c6d09d7148c1c2d9fd0ea655dcf4dcc407deb2db32d4126251ca0245cb670
PKG_DESCR:= retrieving files using http(s) and ftp
PKG_SECTION:= net/http
-HOST_BUILDDEP:= openssl-host
+HOST_BUILDDEP:= libressl-host
PKG_URL:= http://www.gnu.org/software/wget/
PKG_SITES:= ${MASTER_SITE_GNU:=wget/}
PKG_BB:= 1
diff --git a/target/config/Config.in.tools b/target/config/Config.in.tools
index 1a34e94a6..702eea651 100644
--- a/target/config/Config.in.tools
+++ b/target/config/Config.in.tools
@@ -35,7 +35,7 @@ config ADK_HOST_BUILD_LIBTOOL
bool
default y
-config ADK_HOST_BUILD_OPENSSL
+config ADK_HOST_BUILD_LIBRESSL
bool
default y