From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 28 Sep 2015 05:13:45 -0700 (PDT) From: =?UTF-8?Q?Stefan_M=C3=BChlinghaus?= To: voidlinux Message-Id: <37fc60eb-e234-4368-864c-c34b1de47398@googlegroups.com> In-Reply-To: <97986a39-c845-4ab9-b011-51e39102c8ca@googlegroups.com> References: <97986a39-c845-4ab9-b011-51e39102c8ca@googlegroups.com> Subject: Re: xbps-src: lost in cross-build, aka on makedepends vs hostmakedepends MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_254_719600198.1443442425490" ------=_Part_254_719600198.1443442425490 Content-Type: multipart/alternative; boundary="----=_Part_255_1473996996.1443442425490" ------=_Part_255_1473996996.1443442425490 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Maybe my previous post here can shed some light :) Here is a ficticious example: A package may need tools like "cmake" and "pkg-config" to run through its build-process and the "qt" library is needed to build and execute it. These would be the different dependencies: *hostmakedepends:* cmake, pkg-config Installed and executed on the host in its architecture to run through the build process *makedepends:* qt-devel For compiling purposes the -devel variant of a library is needed. These dependencies are automatically installed seperately for each target architecture *depends:* qt Needed to run the program on the target system. This is automatically detected in many cases so you probably will not need to specify it at all. ------=_Part_255_1473996996.1443442425490 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Maybe my previous post here can shed some light :)=

Here is a ficticious example: A package may need tools = like "cmake" and "pkg-config" to run through its build-= process and the "qt" library is needed to build and execute it. T= hese would be the different dependencies:

hostm= akedepends: cmake, pkg-config
Installed and executed on the h= ost in its architecture to run through the build process

makedepends: qt-devel
For compiling purposes the -d= evel variant of a library is needed. These dependencies are automatically i= nstalled seperately for each target architecture

<= b>depends: qt
Needed to run the program on the target system.= This is automatically detected in many cases so you probably will not need= to specify it at all.
------=_Part_255_1473996996.1443442425490-- ------=_Part_254_719600198.1443442425490--