Fix scponly compilation (#1982)
authorOliver Ertl <oliver@ertl-net.net>
Sun, 1 Jul 2007 11:14:32 +0000 (11:14 +0000)
committerOliver Ertl <oliver@ertl-net.net>
Sun, 1 Jul 2007 11:14:32 +0000 (11:14 +0000)
SVN-Revision: 7823

utils/scponly/Makefile

index 1e3981d7946c31cd791f1be430160afb6f4763fd..064e9d8821f31328e92cd3f20ec84ab8ff9c9292 100644 (file)
@@ -13,7 +13,8 @@ PKG_VERSION:=4.6
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
-PKG_SOURCE_URL:=http://sublimation.org/scponly
+PKG_SOURCE_URL:=@SF/scponly \
+       http://sublimation.org/scponly
 PKG_MD5SUM:=0425cb868cadd026851238452f1db907
 PKG_CAT:=zcat
 
@@ -21,11 +22,13 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 
 include $(INCLUDE_DIR)/package.mk
 
-CONFIGURE_ARGS+= \
-  --enable-winscp-compat \
-  --enable-scp-compat \
-  --disable-rsync-compat \
-  --with-sftp-server="/usr/libexec/sftp-server"
+CONFIGURE_ARGS += \
+       ac_cv_path_scponly_PROG_SFTP_SERVER="/usr/libexec/sftp-server" \
+       , \
+       --enable-winscp-compat \
+       --enable-scp-compat \
+       --disable-rsync-compat \
+       --with-sftp-server="/usr/libexec/sftp-server"
 
 define Package/scponly
   SECTION:=utils