1927 Commits

Author SHA1 Message Date
sthen
c52e15386b the main xxx_ARCHS variables in arch-defines.mk should list MACHINE_ARCH
not ARCH names; fix for GO_ARCHS (from Brad) and extend the comment about
APM_ARCHS (which is special)
2021-05-09 08:21:47 +00:00
sthen
08aeab4d28 add riscv64 to port archs lists, from Brad. 2021-05-09 08:17:47 +00:00
espie
8357a73e76 remove local scaffolding I committed by mistake 2021-05-03 17:53:15 +00:00
patrick
f828efc84f Add aarch64 to MONO_ARCHS.
ok robert@ naddy@
2021-04-10 15:36:13 +00:00
sthen
44854f064a handle .tar.zstd / .tar.zst in EXTRACT_CASES; ok kn@ 2021-03-09 17:09:48 +00:00
espie
81871ee2a5 - move FIX_CRLF_FILES to post-dispatch (suggested by naddy@, okay sthen@)
- fix an old optimisation that was lost, namely do not run distpatch
if it's not necessary

nothing broken after 3000 ports built, so it's unlikely to have any negative
side-effect
2021-02-28 14:01:11 +00:00
espie
13029014e3 FIX_CRLF_FILES obviously belongs in dump-vars 2021-02-25 23:19:51 +00:00
sthen
4fa7ad11f2 FIX_CRLF_FILES should root files in WRKDIST, not WRKSRC.
pointed out by espie@
2021-02-25 23:04:54 +00:00
sthen
942c7717b8 add FIX_CRLF_FILES. currently we use ad-hoc make targets to convert line
endings in extracted distfiles; it's common enough that it makes sense to
provide a nicer way of doing this. some changes suggested by espie@ tb@ kn@
2021-02-25 21:46:05 +00:00
espie
ec88bfaedb finally add DEBUG_PACKAGES and DEBUG_CONFIGURE_ARGS to sqlports
not sure what I missed the last time as this is fundamentally trivial
2021-02-20 18:05:04 +00:00
sthen
4648b5acd5 oops, revert local diffs from my test build tree 2021-02-19 23:14:45 +00:00
sthen
248932be74 switch MODPY_BIN_SUFFIX to -2 for py2 and (blank) for py3
switch ports using command-line tools from py-sphinx that don't need a
py2 version of it to py3-sphinx
2021-02-19 23:13:00 +00:00
sthen
a7e057a338 Change COMMENT for debug packages to just use PKGSTEM not FULLPKGNAME.
In some cases (mostly with insane distnames from local test builds, but
conceivably also possible with long combinations of flavours) they can
exceed the character limit. Discussed with espie@ who pointed out that
plist_db doesn't include entries for debug packages.

From Mikolaj Kucharski.
2021-02-06 15:24:48 +00:00
sthen
39b4146d34 mention the port dir (devel/gettext,-tools) not just "gettext-tools" in
the poisoned scripts; easier to cut-and-paste
2021-01-31 21:18:23 +00:00
sthen
3613cd7af4 Change ccache handling from adding to BUILD_DEPENDS to doing an ".if exists"
check. Newer ccache uses cmake making it impractical to break the loop by
just disabling ccache for the individual ports on the way to building ccache.
2021-01-24 14:38:34 +00:00
kettenis
6716b674c9 Add powerpc64 to GCC49_ARCHS.
ok jasper@
2021-01-18 19:32:50 +00:00
kn
9196604f15 Support .rpm in EXTRACT_CASES
Less special cases in (rare) ports, pluse one can use EXTRACT_FILES as usual now.

OK espie robert
2021-01-10 22:29:33 +00:00
sthen
0f8fca3a21 mips64el moved to clang, update ports arch-defines to match. from Brad. 2020-12-22 12:53:42 +00:00
sthen
54a13723b7 bump SYSTEM_VERSION on clang archs, to trigger pkg_add to update
everything so that people updating from subsequent snapshots won't
have old clang 8-compiled packages lying around.

also will work around the problem where packages don't have WANTLIB
in sync, in some cases these have an unlisted dependency on libc++
which won't have been updated as needed (found by matthieu@).

ok ajacoutot@
2020-08-13 17:08:45 +00:00
jca
04197b1fe1 Add powerpc64 to LLVM_ARCHS
from Brad
2020-08-11 08:27:24 +00:00
kettenis
1e4c58a117 Add support for powerpc64.
ok naddy@, jsg@
2020-07-12 07:59:48 +00:00
sthen
6992f5117a update search.cpan.org -> metacpan.org, from cwen@ in 2018,
similar diff from Yozo TODA. bumps to follow.
2020-07-03 21:42:55 +00:00
espie
5918cd90f0 add a PKGLOCATE_COOKIE that will be filled in by update-plist
turns out update-plist already groks -D thanks to inheriting from
common code!
2020-06-26 11:51:16 +00:00
kn
26fdc586a0 Liste failed patches at the end of "make patch"
Updating bigger ports with lots of patches, combing the target's output
for failed hunks can be cumbersome;  print failed patch files one per line
iff there are any to provide immediate feedback on what wrong and where.

"definitely wanted" landry
Style nits, OK espie
2020-06-16 13:41:42 +00:00
espie
84a844882e add REGISTER_PLIST_OPTS
to be used to allow various things
2020-06-09 11:01:08 +00:00
paco
2c326f8b33 add FIX_CLEANUP_PERMISSIONS and enable it by default on go.port.mk when
using MODGO_MODNAME.

This is needed to work around this issue:
https://github.com/golang/go/issues/27455

which makes `make clean` because of the restrictive permissions.

input and corrections from sthen@ and jca@
ok sthen@ jca@ espie@
2020-06-08 13:16:26 +00:00
espie
5c9ecb1ee7 fix some PORTS_PRIVSEP tidbits:
UPDATE_COOKIES and BULK_COOKIES are not generated by dpb, but if you
build stuff manually and use dpb, they can happen, and you will see error
messages in dpb logs (trying to remove them as _pbuild), so give them
to _pbuild/tweak fix-extract-permissions accordingly.

Also fix an old feature where you can force UPDATE_COOKIES into WRKDIR
which got broken a long time ago.

Thanks to solene@ for tests
2020-06-01 08:41:36 +00:00
kn
487d2b660a Make make modifiers work in verbose-show
OK espie
2020-05-29 19:38:09 +00:00
espie
53c96ec8e1 neuter strip if DEBUG_PACKAGES is set
tweak the path for copy-debug-info  so we don't accidentally neuter
THAT strip as well.

this helps getting cmake/qmake do the right thing without needing to
alter strip behavior.
2020-05-20 12:57:10 +00:00
kn
c65b8a6855 Add EXTRACT_FILES
Allow extraction of specific files only rather than all from distfile.

OK sthen espie
2020-05-18 18:18:33 +00:00
espie
a259946345 dist cleaning should match make fetch, namely also remove any left-over
.part files

as noticed by f.holop...
2020-04-20 11:49:57 +00:00
espie
95e3a02abb separate the debuginfo property from its use to zap DEBUG_PACKAGES
out of existence: arch-defines.mk MUST be included very early on, so that
modules can use it to decide on behavior, BUT modules are allowed to set
DEBUG_PACKAGES without worrying about it, and so bsd.port.arch.mk must be
the place that zaps!

Discovered by sthen@, because xfce4.port.mk would start churning out
DEBUG_PACKAGES on every architecture.

tested by naddy@  because I wasn't sure I didn't miss something non obvious.
2020-04-16 19:33:29 +00:00
sthen
1b6958f340 enable debug packages on aarch64; ok kmos@ jca@, "go ahead" phessler@
They do result in a bulk package build taking about a third longer, but
the bulk build machines are significantly faster than the machines most
people are running the produced packages on, so it's a trade-off: a bit
of pain for builders vs a lot of pain for users wanting to debug things
on their normal hardware.
2020-04-15 14:25:57 +00:00
sthen
5030bccdd4 bump _SYSTEM_VERSION for arm and aarch64, the ABI was changed in February
to address a speculative execution issue and old binaries can no longer be used.
ok phessler@
2020-04-15 13:45:02 +00:00
espie
a6cd76d399 fix build-debug-info so that it works with MULTI_PACKAGES with distinct
PREFIX.

Specifically:
- stop tweaking PREFIX for build-debug-info
- have build-debug-info use -B instead
- generate Makefile with full paths
- tweak the sequence in bsd.port.mk to NOT pass FAKE_SETUP around

This fixes got
2020-04-08 09:15:39 +00:00
espie
4f6822b7ff constrain EXTRACT_ONLY to be an actual distfile, so that we can be sure
it was checksummed.
(noticed on a port where EXTRACT_ONLY was a full file name and no longer
in distinfo, but still in DISTDIR)

thx naddy@ for making sure it didn't break in a bulk
2020-04-08 09:10:00 +00:00
espie
6228c0a5a6 fix typo 2020-04-06 14:43:57 +00:00
espie
4f32234919 work-around current make limitation
fixes abieber's issue
2020-04-06 14:32:14 +00:00
sthen
3db8e8f070 Adjust arch-defines.mk for PowerPC switch to Clang/LLVM as default compiler.
From Brad, ok jca cwen.
2020-04-04 19:35:44 +00:00
espie
5ecfac8bcf don't use mktemp, we don't really need the random name, and it's harder
to get decent permissions
noticed by kili@
2020-03-31 21:18:33 +00:00
espie
2f332e01a7 oops, forgot CACHE_REPO in the committed version.
pointed out by our semi-anonymous friend (Lucas who ?)
2020-03-29 15:06:05 +00:00
espie
dfcb157ef7 /tmp/cvseSzodp 2020-03-29 12:11:45 +00:00
espie
5ae9691a7e use dwz to shrink debug packages by default
okay sthen, landry
2020-03-26 14:54:17 +00:00
espie
fb231dbdcd prepare for using dwz, but do not use it yet 2020-03-24 17:33:43 +00:00
espie
ddec8f851d activate DPB_LOCKNAME 2020-03-24 15:01:04 +00:00
espie
5a484d1b13 let's use a proper mktemp idiom for makesum 2020-03-11 16:46:34 +00:00
espie
ea2d970f94 generate distinfo.new then mv it to distinfo, instead of the other way
around, so that you can ^C an erroneous makesum that wouldn't change
anything before the end.
2020-03-10 17:15:19 +00:00
espie
c6d476f9b3 kill the other part of flavored SEPARATE_BUILDs that sthen missed 2020-03-06 15:21:25 +00:00
sthen
56727c35c7 bsd.port.mk: remove remnant of old SEPARATE_BUILD=flavored experiment.
Use FULLPKGNAME rather than just PKGNAME in the lockfile, allowing manual
builds to be run with multiple flavours in parallel.  ok espie@
2020-03-06 10:49:00 +00:00
espie
201e8ea072 I've had this in my tree for a while, let bsd.port.mk sanitize BUILD_DEPENDS
values for us, and use the cleaned up value for noconfigurejunk related
to automake (we can use internal variables in bsd.port.mk, obviously)
2020-02-26 15:34:48 +00:00