Skip to content

Commit

Permalink
extend PATH, rustc has to be in it, otherwise one of the commands
Browse files Browse the repository at this point in the history
run by cargo does not find it
  • Loading branch information
omoerbeek committed Jul 5, 2023
1 parent d9fe65d commit b63fe0c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions net/pdns-recursor/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=pdns-recursor
PKG_VERSION:=4.9.0-rust
PKG_RELEASE:=9
PKG_RELEASE:=10

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://www.drijf.net/pdns/
PKG_HASH:=5ef1461daa153873a104e86449454cca8ca115a45269e72d89312da69030bdb8
PKG_HASH:=5a9b3829e9525d3cdfbfe7db8b53d529424c01a38aaec1ff9c5efd4341438830

PKG_MAINTAINER:=Peter van Dijk <peter.van.dijk@powerdns.com>
PKG_LICENCE:=GPL-2.0-only
Expand Down Expand Up @@ -56,7 +56,9 @@ CONFIGURE_ARGS += \
--enable-reproducible \
--disable-silent-rules

MAKE_VARS += PATH=$(CARGO_HOME)/bin:$(PATH)
MAKE_VARS += CARGO=$(CARGO_HOME)/bin/cargo
MAKE_VARS += RUSTC_TARGET_ARCH=$(RUSTC_TARGET_ARCH)
MAKE_VARS += RUST_TARGET=--target=$(RUSTC_TARGET_ARCH)

define Package/pdns-recursor/install
Expand Down

0 comments on commit b63fe0c

Please sign in to comment.