summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2021-02-14mk: remove ftp.dante.de, it does not offer FTP any longerwiz1-2/+1
2021-02-04mk/compiler/gcc.mk: Remove stray mid-line \gdt1-2/+2
(Apparently left over from reducing the vast number of gcc versions.)
2021-02-02mk/platform: Support known macOS SDK skew mapping.jperkin1-2/+10
For example, the recently release macOS 11.2 does not ship a 11.2 SDK, but continues to use the compatible 11.1 SDK. This now works correctly without having to enable OSX_TOLERATE_SDK_SKEW. These should only be added for releases within the same major version where we can guarantee compatibility.
2021-02-01mk: Use "_PKGSRC_USE_RELRO" instead of "PKGSRC_USE_RELRO"tpaul1-2/+2
This variable appears to be incorrect as "_PKGSRC_USE_RELRO" is set in bsd.prefs.mk. This was causing RELRO_SUPPORTED=no to not function as intended in lang/go/go-vars.mk ok'd by jperkin
2021-01-29mk: Document disable-ld option.jperkin1-0/+1
2021-01-20developer.mk: improve a commentgutteridge1-4/+4
2021-01-19mk/tools: Avoid native GNU make/m4 on all Darwin systems.jperkin1-7/+13
Previously this was only done on Big Sur to work around the issue where XCode does not support running these programs via a symlink, breaking .tools/bin. However, with the update to autoconf 2.70, the native GNU m4 from 2006 on all Darwin systems is too old and breaks the build on Catalina and older, causing massive dependency failures. Avoiding them both completely at this time is the simplest way forward.
2021-01-17Remove "mismatch" flag also in the other place.rhialto1-7/+4
Also, remove check for empty +INSTALLED_INFO which seems no longer needed.
2021-01-17g/c gcc48, gcc49, gcc5 logicmaya1-77/+6
2021-01-17If the base GCC isn't enough, and GCC_REQD=4.5 to 6, use gcc6.maya1-32/+5
gcc4.8,4.9,5 have bugs preventing them from being useful within pkgsrc for the primary use case that finds them handy: glibc + FORTIFY + those GCC versions = build failures. Additionally, requiring fewer versions of GCC is an improvement for the vast majority of use-cases considered. We might want to bump this further than gcc6 later on, but this is a big improvement for CentOS builds.
2021-01-15Provide defaults for BINCIMAP_{USER,GROUP}. Note that s6-networking alsoschmonz1-3/+13
makes use of UCSPI_SSL_USER.
2021-01-15mk: describe most icinga2 optionswiz1-0/+6
2021-01-13mk/misc/show.mk: Only advise changing user-settable variablesgdt1-4/+4
Before, it was easy for a user to misinterpret the message as e.g. setting PYPACKAGE for gnome-doc-utils.
2021-01-11Describe 'execline' option.schmonz1-0/+1
2021-01-09`make replace' now also unsets the `mismatch' variable.rhialto1-3/+3
This is for the benefit of pkg_rolling-replace 0.24.9. ok gdt@.
2021-01-07Switch to HTTP for cpan.pair.com, the FTP service has been discontinued.fcambus1-2/+2
2021-01-04check-portability: always skip files whose name ends with tilderillig1-4/+5
Suggested by wiz.
2021-01-03Revert mk/gnu-config/missingjs1-148/+263
This broke various things. Also remove the comment in devel/autoconf/Makefile that says to update it, so that the next person does not fall into the same pitfall again.
2021-01-02Update devel/autoconf to 2.70js1-263/+148
2.70 deprecates a lot of stuff, so expect more warnings, but generally things seem to work fine, so updating to 2.70 shouldn't break much. Also update mk/gnu-config/*, as per the comment in devel/autoconf/Makefile. mk/gnu-config/missing is not actually part of autoconf, but of automake, which I did not update - however, the file was quite out of date, so I took the liberty to update that one with the latest automake. The change log is too long to include in this commit, given how many years there were between 2.69 and 2.70. Check the file ChangeLog after `make extract`.
2021-01-02(buildlink3/find-headers.mk) correct typomef1-2/+2
2021-01-01Document the to-be-committed rust-cargo-static option.he1-0/+1
2021-01-01Add option vice-headless.rhialto1-0/+1
2021-01-01atomic64.mk: fix path to bsd.fast.prefs.mkgutteridge1-2/+2
2020-12-31Normalize handling packages that require 64-bit atomic ops.nia1-0/+24
2020-12-24pkgformat-vars.mk: Revert requirement for new PKGTOOLSgdt1-2/+6
As part of the pkgdb migration (NetBSD only), PGKTOOLS_REQD was set to a recent value (20200828). However, that results in a cyclic dependency of pkg_install on cwrappers on pkg_install. Once people set PKG_DBDIR in pkg_install.conf and mk.conf to match their setup, there is no need -- because of the migration -- to force newer tools. Testing on TNF's pkgbuild machine indicates this revert works well, and I received two positive comments and none against.
2020-12-22mk/defaults/options.description: add blocklisttaca1-0/+1
2020-12-20Fix error, pointed out by jperkin, thanksmaya1-2/+2
2020-12-20check-files.mk: fix typo in commentgutteridge1-2/+2
2020-12-20Simplify check, trust the user's PKGDB_DIR instead of second guessing it.maya1-4/+2
Fixes bootstrapping a second prefix with /var/db/pkg existing. In a bootstrap scenario, PKGDB_DIR is defined, so this should just work.
2020-12-18Move the pkgdb compatibility error to a NetBSD-specific file to avoidmaya2-6/+10
breakage for users who have other package managers that use /var/db/pkg (Reported by Frederic Cambus on FreeBSD, OpenBSD) Adjust warning: specifying PKGDB_DIR in mk.conf should be sufficient for building packages for the compatibility pkgdb location. This is still an error message, because: - While we can handle the existing references of PKGDB_DIR, new ones might be created. - It is a minor inconvenience to people building packages from source.
2020-12-17mk: Use .elif instead of .else ifryoon1-2/+2
Found under NetBSD/amd64 9.99.77 of 2020-12-16.
2020-12-14Allow PIE and RELRO on aarch64js1-3/+5
I already compiled plenty of packages on my Pinebook Pro with both PIE and RELRO enabled and have yet to see a build failure.
2020-12-14Prefer openjdk11 to adoptopenjdk11-bin for NetBSDabs1-1/+6
(In the _PKG_JVMS.9 case)
2020-12-14show-all: explain how to show the values of tricky variablesrillig1-7/+20
In most cases, the output of "bmake show-all" is reliable, but in a few edge cases there may still be surprises.
2020-12-13platform/Linux: always prefer native pthread/libdlnia1-1/+5
2020-12-09Reflect GNU grep locations on some SunOS variantsgutteridge1-1/+3
2020-12-05tools.Linux.mk: Consider /bin/find as welljs1-1/+5
2020-12-05mk: fix a duplicate GCC9 variable to refer to GCC10 insteadwiz1-2/+2
Noted by Jackson Bryn in PR 55842.
2020-12-03mk: use LOCALBASE instead of PREFIXwiz1-2/+2
I don't understand why this fixes problems, but it does fix the build of mail/neomutt for me. From ryoon.
2020-12-02*: move default database directory from /var/db/pkg to ${PREFIX}/pkgdbwiz4-13/+17
As discussed in August 2020 and previously on pkgsrcCon 2019. Ok pkgsrc-pmc@
2020-11-19Run without errors when LICENSE is undefined.schmonz1-3/+3
2020-11-19Only a few djb-nonlicense packages remain. Retire DJB_RESTRICTED,schmonz1-21/+6
instead setting LICENSE directly in those packages. Remove outdated djbware.mk TODO items.
2020-11-16mk: describe opentracker optionswiz1-1/+3
2020-11-11ftp.gnu.org redirects to https.nia1-2/+2
2020-11-06mk/fonts.mk: don't add NO_CONFIGURE and NO_BUILD, have packages set it.maya1-3/+1
This makes it easier to use the mk fragment with fonts that need a build step, like new liberation-ttf. While here switch some fonts using post-install unnecessarily to do-install (Committed at the same time as it wasn't tested separately) No PLIST changes to the packages/build breakage, so no changes expected to the packages.
2020-11-05math/openblas: Add to math/Makefile, add options descriptionbacon1-0/+1
2020-11-05sites: add some working GNOME mirrorsnia2-4/+8
2020-11-05sites: remove GNOME master sites that now either fail or redirectnia1-3/+1
2020-11-04Support PKGPATH with "make package-name"khorben1-1/+3
Now dependencies can be listed either by package name, or path to the package (eg with "make PACKAGE_NAME_TYPE=path build-depends-list"). Users of PACKAGE_NAME_TYPE=html could use a combination of PACKAGE_NAME_TYPE=name and PACKAGE_NAME_TYPE=path instead now. No objection from tech-pkg@
2020-11-01options.description: fix invalid tabulationstriaxx1-1/+1