build/distfiles: fetch actual port's distfile

This bug exists since December 2017 where we had to side-step
fetch-recursive because FLAVOUR git in the way...
This commit is contained in:
Franco Fichtner 2019-01-21 07:08:57 +01:00
parent c3555dfd65
commit e46b40bf5d
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
# Copyright (c) 2015-2018 Franco Fichtner <franco@opnsense.org>
# Copyright (c) 2015-2019 Franco Fichtner <franco@opnsense.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@ -95,6 +95,7 @@ UNAME_r=\$(freebsd-version)
"
echo ">>> Fetching \${PORT_ORIGIN}..."
PORT=\${PORT_ORIGIN%%@*}
make -C ${PORTSDIR}/\${PORT} fetch \${MAKE_ARGS}
PORT_DEPENDS=\$(make -C ${PORTSDIR}/\${PORT} all-depends-list \
\${MAKE_ARGS})
for PORT_DEPEND in \${PORT_DEPENDS}; do