Commit Graph

93 Commits

Author SHA1 Message Date
Juan RP
11a6f8a681 xbps-src: environment: set CFLAGS and LDFLAGS for the bootstrap case.
Fixes building bootstrap packages that need to find libs in masterdir
and not from the host.
2015-04-21 08:32:59 +02:00
Juan RP
313cdf6ee6 xbps-src: force reconfiguration of base-directories in sysroot.
... otherwise some required symlinks in sysroot aren't created, and this
seems to be required when cross compiling for i686.
2015-04-15 12:23:07 +02:00
Juan RP
e898f68084 environment/configure: create lib32 symlink on i686.
otherwise in cross compilation the lib32 symlink is not created, because
base-directories post-install script is skipped.
2015-04-13 09:24:27 +02:00
Christian Neukirchen
1919bb36ca common/environment/configure-args.sh: add aarch64*. 2015-03-30 18:33:43 +02:00
Juan RP
58d6bee509 environment/autoconf_cache: override tests for /dev/{u,}random. 2015-03-29 09:10:10 +02:00
Christian Neukirchen
232dbbd206 environment/configure: move ac_cv_have_decl_sys_siglist=yes from linux to glibc, as musl doesn't have it. 2015-03-22 18:39:19 +01:00
Christian Neukirchen
cd01759127 defaults.conf: move -z now to hardened-ld only. 2015-03-08 19:57:01 +01:00
Christian Neukirchen
ea96fc3cce xbps-src: pass PIE flags via -specs mechanism, avoids breaking static build. 2015-03-07 20:59:50 +01:00
Juan RP
9870868948 xbps-src: added "build_pie" var to build PIE binaries. 2015-03-04 17:00:19 +01:00
Juan RP
46a8da47f0 environment/autoconf-cache: add more more overrides for gnulib.
Close #1046
2015-03-02 15:29:42 +01:00
Duncaen
ecdfaf50ee common-linux: fix tests for coreutils 2015-03-02 15:27:15 +01:00
Juan RP
2d5a7a9323 environment/autoconf_cache: override /dev/{ptc,ptmx} tests. 2015-02-26 09:24:22 +01:00
Juan RP
e9c2c65102 environment/autoconf_cache: override some more tests for gnulib. 2015-02-25 19:04:27 +01:00
Juan RP
1bbaef721c xbps-src: do not generate 32bit pkgs for perl/python modules. 2015-02-25 12:00:10 +01:00
Dominik Honnef
a62f407007 set Go env vars in environment
This way, a template can overwrite do_build but still have good defaults
for GOPATH, GOARCH and GOARM.
2015-02-21 14:49:02 +01:00
Dominik Honnef
77e8751a93 New build_style: go 2015-02-21 14:49:02 +01:00
Juan RP
869756111e common/environment/README: build_style -> build-style. 2015-02-21 12:25:57 +01:00
Juan RP
df4c861f97 xbps-src: common/{,environment}/build_style -> common/${,environment}/build-style. 2015-02-21 12:13:07 +01:00
Juan RP
32c5ae8e02 common/environment/README: document build_style. 2015-02-21 12:05:22 +01:00
Juan RP
3adb1c5c6b xbps-src: add environment/build_style to set env vars for build_styles. 2015-02-21 12:03:48 +01:00
Juan RP
bf2ef44e31 xbps-src: environment/subpkg: sort and sync with reality. 2015-02-05 11:40:31 +01:00
Juan RP
5725a2e0ae xbps-src: introduce "noshlibprovides" to skip shlib-provides detection. 2015-02-05 11:37:10 +01:00
Juan RP
d104a99fa0 hooks/prepare-32bit: introduce lib32symlinks.
- This creates a symlink of a file stored in usr/lib32 to usr/lib.
- This expects basename of files stored in usr/lib32.
- This is required by an upcoming change to the glibc pkg.
2015-01-28 16:29:45 +01:00
Juan RP
da68a7b63f xbps-src: reverts is now propagated to subpkgs. 2015-01-18 19:34:20 +01:00
Eivind Uggedal
3b7a76512d update_check.sh: use external update file for overrides 2015-01-15 11:16:30 +00:00
Juan RP
f917bf259a environment/setup: fix vmove with pkgs that use a var named "f". 2014-11-30 21:17:52 +01:00
Eivind Uggedal
154c5cd605 update_check.sh: support for update_version (upstream version). 2014-11-24 14:57:41 +00:00
Juan RP
e68ead38a0 environment/gnu-configure-args: only set args in two specific cases.
Only set configure_args if build_style is unset or build_style=gnu-configure.
In other cases it's not really necessary to set them.
2014-11-23 11:16:39 +01:00
Juan RP
8ade12549f xbps-src: rename disable_debug to nodebug, to follow our naming convention. 2014-11-16 11:52:36 +01:00
Juan RP
9963231e31 xbps-src: only set --{build,host} if build_style is unset or gnu-configure. 2014-11-12 09:16:54 +01:00
Juan RP
9a168e4463 xbps-src: introduce XBPS_TRIPLET and set it in the build-profiles.
This is for cases where host does not match build environment (x86_64 building for x86).
So we just force build/host triplet in native builds.
2014-11-11 22:24:40 +01:00
Juan RP
4709ea9187 env/setup-subpkg: also unset "reverts". 2014-11-07 17:45:01 +01:00
Christian Neukirchen
4015ecf3c1 xbps-src: add update_* to common/environment/setup/sourcepkg.sh 2014-11-07 16:03:52 +01:00
Juan RP
97a5e16fab xbps-src: make "repository" per srcpkg, i.e don't override it for subpkgs. 2014-11-07 11:35:53 +01:00
Enno Boland
bf9ea156d8 move "repository" variable from environment/setup to environment/setup-subpkg 2014-11-05 14:15:25 +01:00
Enno Boland
59cc3e0d45 replace nonfree=yes with repository=nonfree.
This way it is possible to set up package specific repositories for
i.e. specific devices.
2014-11-05 14:15:25 +01:00
Juan RP
29fd09339a env/setup/install: use chmod 755 for runit scripts. 2014-11-03 17:03:27 +01:00
Juan RP
d4025450ae xbps-src: vsv: take into account log service too. 2014-10-13 13:02:04 +02:00
Juan RP
b700bf40e4 xbps-src: vsv: chmod +x run/finish scripts; create supervise symlink. 2014-10-13 12:37:33 +02:00
Enno Boland
33fd83f6be common/environment/setup: add vsv command to add runit services. 2014-10-13 11:12:05 +02:00
Juan RP
d9ff56e873 common/environment/setup/sourcepkg.sh: unset do_clean() too. 2014-10-11 10:19:16 +02:00
Juan RP
b2976da1c8 xbps-src: use "disable_debug" to disable -dbg subpkg creation. 2014-10-11 09:57:27 +02:00
Juan RP
3b6b9eb774 environment/setup: added reverts var (hi @Gottox) 2014-09-30 06:22:11 +02:00
Juan RP
f7146ea652 environment/pkg-config: unset PKG_CONFIG; find it via PATH instead.
... otherwise some pkgs fail to build due to host vs target (gtk+3).
2014-09-28 08:01:18 +02:00
Juan RP
8ddf256957 xbps-src: set PKG_CONFIG env var to the triplet-pkg-config wrapper. 2014-09-26 12:07:23 +02:00
Juan RP
535117078c xbps-src: create a <cross-target>-pkg-config wrapper when cross compiling.
This wrapper sets the env vars required for proper cross compiling, rather
than always setting them.
2014-09-25 14:38:16 +02:00
Juan RP
cc4a8b9597 environment/configure: override some more funcs. 2014-09-17 03:49:27 +02:00
Alessio Sergi
6f171bcd2f Add PyPI to master sites 2014-09-10 23:52:34 +02:00
Juan RP
289bc58776 xbps-src: added support to append additional shlibs to shlib-{provides,requires}. 2014-09-10 11:23:33 +02:00
Dominik Honnef
191c1eaf51 add vopt_conflict helper
vopt_conflict prints an error and exits if two options are set at the
same time.
2014-09-05 16:57:47 +02:00