Repository navigation
Conversation
- Add ALTERNATIVES files. - Include the .o files in the -libs packages. - Prune unnecessary libraries from the -libs package. - Set local prefix to LOCALBASE (except tools build), and link against it by default. - Disable -fomit-frame-pointer, we like stack traces. - Disable __stack_chk_fail_local (fixes 32-bit) - DATASET-953 disable full gcc47 dependency - Implement -fstrict-calling-conventions, from richlowe. - Cleanup DEPENDS when using -libs - Fix check-shlibs in -libs - Fix TritonDataCenter/pkgsrc-legacy#264 (avoid tls emulation) - Fix for building with newer GCC.
There should be an option with packages to re-use an existing user or group, even if a specific uid/gid is provided. This commit introduces a user variable to configure this: PKGINSTALL_IGNORE_UIDGID. When PKGINSTALL_IGNORE_UIDGID is true then pkg_install will not try to create the user/group as specified. If the user/group does not exist but the specified uid/gid is, then the uid/gid will be stripped so that the system can allocate one at random.
This allows specifying additional libraries in the output phase, and is a special case compared to _WRAP_EXTRA_ARGS as we need to ensure that these libaries are not applied when using Sun ld in -r mode.
* Disable zlib so that we don't pull in platform libz. * Set OVERRIDE_DIRDEPTH.depcomp=1 to disable depcomp-override
This allows arguments to be added when a wrapper is generating an object, and is useful for inserting a specific library into each, for example -lumem on SunOS.
- Remove TOOLS_BASEDIR references. - Set search path with COMPILER_LIB_DIRS. - Don't hardcode GCC library paths. - Can't use -nostdlib (due to the above change). mk/compiler/gcc.mk: remove libtool-base handling. We need this to ensure that sys_lib_search_path_spec is correct and prefers the runtime library. Without this we see failures where packages using libtool try to use both libstdc++.so's. Ensure we can use an external libtool for binutils.
Avoids accidentally picking up a broken/non-working one from the environment, or linking against one we don't have installed everywhere.
We already set them explicitly in pkgbuild and besides avoiding duplicates this also allows us to change them without having to rebuild bootstrap.
Resolves issues when bootstrapping without a suitable pkg_info available, as the bootstrap pkg_info is unable to operate on binary packages. Fixes TritonDataCenter/pkgsrc-legacy#564
- Add ALTERNATIVES files. - Include necessary object files in the -libs package. - Prune unnecessary libraries from the -libs package. - Set local prefix to LOCALBASE (except tools build), and link against it by default. - Disable -fomit-frame-pointer, we like stack traces. - Disable --as-needed to avoid libgcc_s dependency. - Disable __stack_chk_fail_local (fixes 32-bit) - Support -fclone-functions, -fstrict-calling-conventions, -msave-args - Fix check-shlibs in -libs - Fix TritonDataCenter/pkgsrc-legacy#264 (avoid tls emulation)
Cache REQUIRES entries so that we don't need to continue forking for every one. Reduces time for net/samba4 from 10 minutes to 6 seconds.
pbulk currently can't detect that a package is marked as BROKEN and not consider it as a valid dependency, so we run into problems where it chooses it as a best match instead of joyent/gcc9.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
gitea-1.12.1-frontend.tar.gzneeds to be uploaded to LOCAL_PORTS.Makefile.