remove openssh-sftp-server dependency on libcrypto and zlib
authorFelix Fietkau <nbd@openwrt.org>
Thu, 9 Nov 2006 16:57:26 +0000 (16:57 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 9 Nov 2006 16:57:26 +0000 (16:57 +0000)
SVN-Revision: 5484

net/openssh/Makefile

index de806a5b42b2f82e43c2fdf95346af6b43cd1976..ae93ff581b8bc7bc81d30779a98b2de4f5e377e3 100644 (file)
@@ -73,7 +73,7 @@ endef
 define Package/openssh-sftp-server
   SECTION:=net
   CATEGORY:=Network
-  DEPENDS:=+libopenssl +zlib
+  DEPENDS:=
   TITLE:=OpenSSH SFTP server
   DESCRIPTION:=OpenSSH SFTP server.
   URL:=http://www.openssh.com/
@@ -126,6 +126,10 @@ endef
 define Build/Compile
        rm -rf $(PKG_INSTALL_DIR)
        mkdir -p $(PKG_INSTALL_DIR)
+       $(MAKE) -C $(PKG_BUILD_DIR) \
+               DESTDIR="$(PKG_INSTALL_DIR)" \
+               LIBS="" \
+               sftp-server
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                all install