From 382db55a41a68af2f871928455e53d7fb321840d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 6 Apr 2015 16:35:20 +0200 Subject: [PATCH] README: document {build,cross}-profiles and relative path to xbps repos. --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3b558b42e5..9b3bbb8dfd 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,10 @@ those defined in `etc/defaults.conf`, set them on `etc/conf` instead i.e: $ echo 'XBPS_CFLAGS="your flags here"' >> etc/conf $ echo 'XBPS_LDFLAGS="your flags here"' >> etc/conf +Native and cross compiler/linker flags are set per architecture in `common/build-profiles` +and `common/cross-profiles` respectively. Ideally those settings are good enough by default, +and there's no need to set your own unless you know what you are doing. + ### Virtual packages The `etc/defaults.virtual` file contains the default replacements for virtual packages, @@ -117,11 +121,8 @@ When the package and its required dependencies are built, the binary packages wi and registered in the default local repository at `hostdir/binpkgs`; the path to this local repository can be added to any xbps configuration file (see xbps.d(5)) or by explicitly appending them via cmdline, i.e: - $ xbps-install --repository=/path/to/hostdir/binpkgs ... - $ xbps-query --repository=/path/to/hostdir/binpkgs ... - -> Currently xbps expects absolute path when using the `--repository` option. This has been -corrected in the 0.44 version. + $ xbps-install --repository=hostdir/binpkgs ... + $ xbps-query --repository=hostdir/binpkgs ... By default **xbps-src** will try to resolve package dependencies in this order: