* [PATCH cygport] Pass ${DEPEND} through to .hint for source package as build-depends:
@ 2016-09-14 19:06 Jon Turney
0 siblings, 0 replies; only message in thread
From: Jon Turney @ 2016-09-14 19:06 UTC (permalink / raw)
To: cygwin-apps; +Cc: Jon Turney
Converting a dependency atom to a package name with full generality requires
a database of all the pathnames contained in all packages, so we don't even
try to do that, leaving that future task for later processing of the .hint
file...
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
---
lib/pkg_pkg.cygpart | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lib/pkg_pkg.cygpart b/lib/pkg_pkg.cygpart
index d569844..8065fde 100644
--- a/lib/pkg_pkg.cygpart
+++ b/lib/pkg_pkg.cygpart
@@ -709,6 +709,10 @@ _EOF
cat >> ${distdir}/${PN}/${distsubdir}/${pkg_name[${n}]}-${PVR}.hint <<-_EOF
external-source: ${PN}
_EOF
+ else
+ cat >> ${distdir}/${PN}/${distsubdir}/${pkg_name[${n}]}-${PVR}.hint <<-_EOF
+build-depends: ${DEPEND}
+_EOF
fi
if defined ${pkg_message_var}
then
@@ -784,6 +788,7 @@ _EOF
cat > ${distdir}/${PN}/${PN}-${PVR}.hint <<-_EOF
category: ${!pkg_category_var:-${CATEGORY}}
requires:
+build-depends: ${DEPEND}
sdesc: "${!pkg_summary_var:-${SUMMARY}}"
ldesc: "${!pkg_description_var:-${DESCRIPTION:-${!pkg_summary_var:-${SUMMARY}}}}"
skip:
--
2.8.3
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-09-14 19:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-14 19:06 [PATCH cygport] Pass ${DEPEND} through to .hint for source package as build-depends: Jon Turney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).