Commit Graph

71 Commits

Author SHA1 Message Date
Jürgen Buchmüller 9fbeba39f1 compiler wrapper: add ccache or distcc prefix (#4575)
Closes #4574
2016-08-08 08:37:06 +02:00
Enno Boland 3db4efd013 hooks/pre-configure: do not set configure_script outside of build_style.
fixes #4201.
2016-05-16 20:38:09 +02:00
Jürgen Buchmüller c459dade15 gcc: add support for SOURCE_DATE_EPOCH environment
+ Create symlinks from gcc/patches/libcpp-source_date_epoch.patch to cross-*/files/
+ Make all the _apply_patch() functions the same
2016-03-08 13:49:52 +01:00
Jürgen Buchmüller 8ce51e70cf timestamp-macros: fix creation and add cleanup
As described in #3765
2016-03-07 09:46:34 +01:00
Christian Neukirchen 150c0b11b3 hooks/pre-configure/00-gnu-configure-asneeded.sh: don't error on $configure_script with spaces. 2016-02-05 12:10:46 +01:00
Juan RP aafe90e3c4 xbps-src/hooks: create a giblib-config wrapper for cross.
Required by scrot and probably others (#3464).
2016-01-26 07:46:00 +01:00
Enno Boland d8f7d1a8d6 common/hooks/pre-configure: fix script wrapper pkgconfig paths. 2016-01-21 00:07:05 +01:00
Juan RP c373ae50d4 xbps-src: get rid of 'broken_as_needed'; not used anymore. 2015-11-28 09:24:01 +01:00
Juan RP bd165ccdf6 wrappers: rename cc to cross-cc to clarify it's used only in cross mode. 2015-10-25 11:03:16 +01:00
Juan RP b7d05057f9 xbps-src: create a cc/g++ wrapper to drop -I/usr/include -L/usr/lib in cross.
I'm tired of wasting extra time to fix software to remove standard include/lib dirs.
2015-10-23 11:56:30 +02:00
Enno Boland 66cdb281f1 hooks/pre-configure: don't overwrite PKG_CONFIG_* vars in the wrapper.
This may have side effects do other packages but it was needed to fix
gnome-online-accounts for cross build. goa ships a subproject that uses
this vars to link against it. This commit changes the pkg-config that it
preserves values in PKG_CONFIG_* if set.
2015-10-13 15:01:32 +02:00
Juan RP bcdacb66a0 xbps-src: replace basename(1) with ${var##*/}.
Reduce number of fork+exec due to using a subshell to execute basename(1).
2015-09-11 07:55:40 +02:00
Christian Neukirchen eaa6ab4b81 pre-configure/02-script-wrapper.sh: use generic_wrapper2 for nspr-config. 2015-06-24 14:08:56 +02:00
Christian Neukirchen 93853b06e5 pre-configure/02-script-wrapper.sh: taglib-config needs generic_wrapper2. 2015-06-10 13:51:38 +02:00
Juan RP 7fec5d6aac hooks/script-wrapper: fix generic_wrapper3: just replace prefix/libdir. 2015-06-08 08:01:59 +02:00
beefcurtains af3eea3a2c network-ups-tools: enable snmp module 2015-06-04 05:27:14 +00:00
Juan RP 58749959da xbps-src: create a nspr-config wrapper to unbreak mozjs24 cross and others. 2015-05-20 07:30:52 +02:00
Juan RP 1e340ceb79 hooks: activate override-config by default. 2015-05-18 09:33:39 +02:00
Juan RP ee7d319c73 hooks/musl-override-config: activate this for musl targets. 2015-05-12 22:58:24 +02:00
Juan RP 0ca0c67819 hooks/pre-configure: one hook to override config.{sub.guess} for musl is enough. 2015-05-12 22:53:33 +02:00
Juan RP 0be33d385a xbps-src: move wrappers to common/wrappers. 2015-04-21 10:48:30 +02:00
Juan RP 62a643d5c7 xbps-src: create a dummy ldconfig wrapper.
This fixes build/installation of some pkgs that exec ldconfig gratuitously
(ntfs-3g fails with musl due to this).
2015-04-21 10:29:58 +02:00
Juan RP 1f2eb30af2 hooks/script-wrapper: add pcre-config wrapper. 2015-04-13 14:14:23 +02:00
Christian Neukirchen 964c0e2b4e hooks/pre-configure/install-wrapper: also drop -o/-g, they break in xbps-uunshare environments. 2015-04-04 19:50:40 +02:00
Christian Neukirchen e02a68f524 hooks/pre-configure/02-script-wrapper.sh: add wrapper for install(1) to prevent stripping. 2015-04-01 14:11:20 +02:00
Christian Neukirchen 8f1abb9242 hooks/pre-configure/01-aarch64-override-config.sh: new hook. 2015-03-30 18:33:43 +02:00
Juan RP 64bbc33ca2 hooks/script-wrapper: create libetpan-config wrapper. 2015-03-30 08:33:00 +02:00
Juan RP b181f41497 hooks/script-wrapper: fix mysql_config and others. 2015-03-11 12:14:00 +01:00
Juan RP 7f5496db7f hooks/script-wrapper: fix ncurses5{,w}-config wrappers for alsa-utils. 2015-02-27 10:10:16 +01:00
Juan RP 336612fc24 hooks/script-wrapper: fix generic_wrapper2 --cflags. 2015-02-24 10:00:33 +01:00
Juan RP cb90b79acc hooks/script-wrapper: create a xapian-config wrapper. 2015-02-22 08:39:09 +01:00
Juan RP fa512a5109 hooks/script-wrapper: use generic_wrapper3 for libpng-config.
Fixes dillo cross compilation.
2015-02-11 15:11:15 +01:00
Juan RP c111653c6b hooks/script-wrapper: create libassuan-config wrapper. 2015-01-18 17:05:08 +01:00
Juan RP 8be6b7b103 hooks/script-wrapper: revert 0e42bf442e.
it's unnecessary and breaks cross compilation of gnome-ssh-askpass.
2015-01-14 14:28:19 +01:00
Juan RP 0e42bf442e hooks/script-wrapper: multiple run protection. 2015-01-14 11:31:52 +01:00
Juan RP 86df9de56b hooks/script-wrapper: create a fox-config wrapper. 2015-01-12 09:18:53 +01:00
Juan RP c29cfb8eac hooks/musl-override: also override config.sub if build_style is unset. 2014-12-28 09:09:31 +01:00
Juan RP 10454449cd hooks/script-wrapper: fix python-wrapper and update PATH. 2014-12-19 11:01:15 +01:00
Juan RP 9b3c55b8a3 hooks/script-wrapper: use XBPS_WRAPPERDIR. 2014-12-19 10:54:48 +01:00
Juan RP 3540a97b45 hooks/script-wrapper: create proper x{ml2,slt}-config cross wrappers. 2014-11-19 07:31:30 +01:00
Juan RP e8358f26b1 hooks/script-wrapper: also create a ncursesw5-config cross wrapper. 2014-11-16 19:59:50 +01:00
Juan RP c85d5db336 hooks/script-wrapper: create a fltk-config cross wrapper. 2014-11-16 08:48:38 +01:00
Juan RP def9cee898 hooks/script-wrapper: create libmikmod-config wrapper. 2014-10-12 09:16:02 +02:00
Juan RP c48d5ce913 hooks/script-wrapper: fix generated cups-config wrapper.
This was changing cups_serverbin to the cross toolchain sysroot
and caused cups-filters to install bins to this path.
2014-09-28 07:47:14 +02:00
Juan RP 6ab69ef143 xbps-src: hooks/script-wrapper: create a pkg-config symlink to the real wrapper.
...otherwise the envvars for cross compilation won't be set and
lots of packages are broken.
2014-09-27 04:57:20 +02:00
Juan RP 0a1ee2966a xbps-src: hooks/script-wrapper: generate the wrappers just once. 2014-09-27 03:58:09 +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 e5fdbaf91f hooks/script-wrapper: create xslt-config wrapper. 2014-09-12 12:55:59 +02:00
Juan RP 566c2b04c2 hooks/script-wrapper: create Magick-config wrapper. 2014-07-25 19:17:26 +02:00
Juan RP 1bc5dfa3c4 hooks/script-wrapper: create a workable cups-config wrapper to fix gtk+ cross build. 2014-07-22 08:51:27 +02:00