aboutsummaryrefslogtreecommitdiff
path: root/net/ptunnel-ng/Makefile
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-03-26 14:49:08 -0700
committerRosen Penev <rosenp@gmail.com>2019-03-27 13:10:05 -0700
commit25b8159061f72af6f1350c6279f3702774a0fed8 (patch)
tree45ef4ca5b915c7a412fd21dde0187dc31572b7d1 /net/ptunnel-ng/Makefile
parent29957d8bdc04ca3b2abbc46558a4121f4ba2df7c (diff)
ptunnel-ng: Remove libbsd dependency
Fixes compilation when both libbsd and ptunnel-ng are selected. libbsd is used for arc4random with a fallback to /dev/random. musl does not support arc4random. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'net/ptunnel-ng/Makefile')
-rw-r--r--net/ptunnel-ng/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/ptunnel-ng/Makefile b/net/ptunnel-ng/Makefile
index 3b409c163..3e1e2a479 100644
--- a/net/ptunnel-ng/Makefile
+++ b/net/ptunnel-ng/Makefile
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ptunnel-ng
PKG_VERSION:=1.40
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/lnslbrty/ptunnel-ng/tar.gz/v$(PKG_VERSION)?
@@ -32,6 +32,10 @@ CONFIGURE_ARGS += \
--disable-pcap \
--disable-selinux
+CONFIGURE_VARS += \
+ ac_cv_header_bsd_stdlib_h=no \
+ ac_cv_search_arc4random=no
+
define Package/ptunnel-ng/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/sbin/$(PKG_NAME)