Commit graph

15 commits

Author SHA1 Message Date
Đoàn Trần Công Danh 8361c4807f build-style/perl-module: respect build_wrksrc
`wrksrc` is supposed to be a top-level directory. Should the build
system need to be run inside a sub-directory, `build_wrksrc` should be
used instead. We change to `build_wrksrc` implicitly before `do_build`
and `do_install`.

Let's respect `build_wrksrc` in `perl-module`.
2021-07-08 18:01:11 +07:00
Đoàn Trần Công Danh 4ad45b9cb3 build-style/perl-module: put . into @INC
Fixing those build failure:

- perl-Crypt-DH
- perl-Curses-UI
- perl-Data-MessagePack
- perl-Encode-HanExtra
- perl-Gtk2-Notify
- perl-Plack-Middleware-Deflater
- perl-Text-Markdown
- perl-WWW-Curl
2021-02-06 13:10:59 +07:00
Piotr Wójcik 6efc7dd98d xbps-src: quote wrksrc to allow whitespace 2020-09-03 21:03:32 +02:00
newbluemoon 4528a706ff
common/build-style/perl-module.sh: use target perl includes 2018-09-08 07:10:55 -03:00
Enno Boland 4ae8c6e8e8
common/build-style: revert last fix, instead fix a typo 2018-02-26 19:52:04 +01:00
Enno Boland 2f792446a5
common/build-style: do not leak host CFLAGS 2018-02-26 19:19:12 +01:00
Jürgen Buchmüller c43b120be0 perl-module: fall back to use host files
If perl is not installed for the target when cross building a module,
fall back to use the host Config*.p? and Errno.pm files.
2018-02-26 09:35:44 +01:00
maxice8 0285924292 build-style/perl-module.sh: use generic do_check function 2017-11-20 07:18:29 +01:00
Leah Neukirchen eae6f47e26 common/build-style/perl-module.sh: Config_heavy.pl doesn't have a .pm extensions. 2017-09-25 16:57:31 +02:00
Leah Neukirchen 1001188a07 common/build-style/perl-module.sh: don't try to copy new core_perl/Config/ dir. 2017-09-25 15:34:16 +02:00
Christian Neukirchen 814fb802ad build-style/perl-module.sh: fake Errno.pm too. 2016-08-29 16:23:26 +02:00
Christian Neukirchen 5b37844952 build-style/perl-module.sh: use target Config*pm files
These contain the proper CFLAGS.
2016-08-29 15:06:04 +02:00
Christian Neukirchen 1f69782fb5 build-style/perl-module.sh: use -lperl when building XS modules for shlib-requires. 2015-06-23 13:37:41 +02:00
Juan RP 2d3f054590 build-style/perl-module: replace host includedir for cross compilation. 2015-02-24 10:05:08 +01:00
Juan RP df4c861f97 xbps-src: common/{,environment}/build_style -> common/${,environment}/build-style. 2015-02-21 12:13:07 +01:00
Renamed from common/build_style/perl-module.sh (Browse further)