Skip to content

Commit

Permalink
Framework: partially sync with upstream
Browse files Browse the repository at this point in the history
Taken from: HardenedBSD
  • Loading branch information
fichtner committed Jun 10, 2019
1 parent b92c5e6 commit d352377
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions MOVED
Original file line number Diff line number Diff line change
Expand Up @@ -12789,3 +12789,4 @@ www/pivotx||2019-05-31|Has expired: inactive upstream and does not work with PHP
dns/bind912|dns/bind914|2019-05-31|Has expired: Support ends, please move to dns/bind914.
multimedia/vdr-plugin-softhddevice||2019-05-31|Has expired: unmaintained and depends on vulnerable multimedia/ffmpeg0
devel/pecl-pthreads||2019-06-02|Has expired: Does not work with recent versions of php
net-mgmt/ccnet-client||2019-06-10|Removed, no longer has dependencies and has been abandoned upstream
5 changes: 4 additions & 1 deletion Mk/Uses/cargo.mk
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ CARGO_CARGO_RUN= \
# User arguments for cargo targets.
CARGO_BUILD_ARGS?=
CARGO_INSTALL_ARGS?=
CARGO_INSTALL_PATH?= .
CARGO_TEST_ARGS?=
CARGO_UPDATE_ARGS?=

Expand Down Expand Up @@ -257,12 +258,14 @@ do-build:

.if !target(do-install) && ${CARGO_INSTALL:tl} == "yes"
do-install:
. for path in ${CARGO_INSTALL_PATH}
@${CARGO_CARGO_RUN} install \
--path . \
--path "${path}" \
--root "${STAGEDIR}${PREFIX}" \
--verbose \
${CARGO_INSTALL_ARGS}
@${RM} -- "${STAGEDIR}${PREFIX}/.crates.toml"
. endfor
.endif

.if !target(do-test) && ${CARGO_TEST:tl} == "yes"
Expand Down
4 changes: 3 additions & 1 deletion Tools/scripts/addport
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,9 @@ foreach my $thisdir (@dirs) {
# let's get our hands dirty.
if (! -d "ports") {
system("$svn co --depth empty $repo ports") && errx(1, "can't get ports root, aborting.");
chdir "ports" or err(1,"ports");
}
chdir "ports" or err(1,"ports");
if (! -d "$category") {
system("$svn up --depth files $category") && errx(1, "can't get temporary category directory, aborting.");
}
chdir $category or err(1,"$category");
Expand Down

0 comments on commit d352377

Please sign in to comment.