summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2018-06-24emacs: document more *nox versions, and switch to emacs26 by defaultwiz1-4/+4
2018-06-19Disable the flags for PKGSRC_MKPIE when explicitly requiredkhorben1-1/+6
This notably allows emulators/qemu to properly detect support for PIE, and disable it where appropriate. This does not work with cwrappers yet.
2018-06-18Provide defaults for UCSPI_SSL_{USER,GROUP}.schmonz1-1/+11
2018-06-07check-shlibs-macho.awk: revert previousdbj1-10/+1
Revert this fix until we can determine a possibly better fix.
2018-06-07check-shlibs-macho.awk: fix support for checking modulesdbj1-1/+10
Allow the dylib install_name to be just the library basename
2018-06-01+ upoweryouri1-0/+1
2018-05-31Updated ocaml.mk to work with opaline 0.3.1.jaapb1-2/+2
2018-05-29+ polkityouri1-0/+1
2018-05-29+ daapyouri1-0/+1
2018-05-28mk/misc/show.mk: improve wording of the help textrillig1-5/+5
2018-05-28mk/bsd.pkg.mk: include PKGVERSION in show-all targetrillig1-1/+4
2018-05-25check-shlibs-macho.awk: Implement revision 1.3 correctly.jperkin1-1/+3
Skip any lines of otool output that do not start with a tab, ensuring we only check valid files and ignore e.g. shell scripts. Older versions of otool would simply print no output on such files, whereas newer releases print "is not an object file".
2018-05-25check-shlibs-macho.awk: Revert revision 1.3.jperkin1-2/+2
It completely broke the checks, resulting in broken binary packages being shipped, e.g. https://github.com/joyent/pkgsrc/issues/104
2018-05-24mk/compiler/gcc.mk: move _GCC_LDFLAGS setting for relro.wiz1-6/+6
At the previous location it was overridden if a gcc from pkgsrc was used. Problem found by bacon@
2018-05-23Describe some of the security mitigation flags and their impactmaya1-1/+25
2018-05-23mk: Fix GCC PKGPATH matches.jperkin1-2/+3
2018-05-23mk: Add USE_PKGSRC_GCC_RUNTIME gcc7-libs support.jperkin1-1/+3
2018-05-21Removed postgresql92 supportadam1-11/+2
2018-05-16mk/*: improve documentation for "make help"rillig4-8/+33
2018-05-16Add dante option used by mail/fetchmailtriaxx1-0/+1
2018-04-30*: remove references to obsolete DragonFly/i386wiz2-7/+2
2018-04-27mk/tools/create.mk: revert filtering duplicate tool namesrillig1-2/+5
The "split" program is not managed by the tools framework. It just has a wrapper that is placed into the same directory. This is confusing since intuitively, "split" is a tool like many others. The "duplicate script for target" warning from Make is therefore correct, albeit obscure. Currently, neither the pkgsrc infrastructure nor pkglint check for allowed tool names.
2018-04-27mk/tools/create.mk: sort tools before creating the wrapper targetsrillig1-2/+2
The TOOLS_CREATE variable is only ever appended to, without checking for duplicates. In some rare cases, this produces warnings about doubly-defined make targets. An example is adding USE_TOOLS+=strip to pkgtools/pkglint: ".../mk/tools/create.mk" line 149: warning: duplicate script for target ".../work/.tools/bin/strip" ignored The above line number 149 is zero-based, which in reality means the duplicate definition is in line 150.
2018-04-27mk: Describe tiff option.wiz1-0/+1
2018-04-21*: gd.tuwien.ac.at/ftp.tuwien.ac.at is gone, remove it from various mastersiteswiz2-8/+2
2018-04-17Print a message if REPLACE_INTERPRETER does not change anything (similar to ↵adam1-2/+7
SUBST_)
2018-04-08mk/fetch: add documentation for show-all-githubrillig1-1/+5
2018-04-08add support for CMAKE_PKGSRC_BUILD_FLAGSchuck1-1/+12
CMAKE_PKGSRC_BUILD_FLAGS If set to yes, disable compiler optimization flags associated with the CMAKE_BUILD_TYPE setting (for pkgsrc these come in from the user via variables like CFLAGS). The default is yes, but you can set it to no for pkgsrc packages that do not use a compiler to avoid cmake "Manually-specified variables were not used by the project" warnings associated with this variable.
2018-04-07Updated OPAM to use opaline instead of opam-installerjaapb1-6/+12
2018-03-23Wrong place to patch readelftriaxx1-2/+2
2018-03-22Fix wrong parsing due to localized readelf on Linuxtriaxx1-2/+2
Linux version of readelf (at least on Arch) translates output (e.g. "Shared library") and makes the script broken.
2018-03-19Add more diagnostic info for when packages are forced to non-builtin.dholland1-4/+14
The voodoo that checks this now keeps track of which packages caused what, and in addition to the list FORCED_PKGSRC of packages that have been forced to non-builtin, it also produces a list FORCED_PKGSRC_REASONS of the form pkg:causing-pkg{,causing-pkg...}. (which means that USE_BUILTIN.pkg has been set to no because USE_BUILTIN.causing-pkg is set to no.) This could probably just be one list but I'm not sure if anything is relying on the format of the current FORCED_PKGSRC.
2018-03-11mk/configure/replace-interpreter.mk: document variables for show-allrillig1-1/+10
2018-03-11mk/configure/replace-interpreter: add "make help" keywordsrillig1-2/+3
2018-03-11mk/plist: make print-PLIST discoverable by "make help"rillig1-13/+13
Because print-PLIST uses mixed case (unlike most of the other make targets), it is not found by the keyword search of "make help".
2018-03-11mk/help: run "make help" through the pager by defaultrillig1-2/+3
2018-03-09mk/tools/autoconf.mk: improve documentation for autoreconfrillig1-2/+8
2018-03-07xorgproto: use xorgproto instead of separate *proto packageswiz1-3/+3
Remove now obsolete packages.
2018-03-07mk/help: sort keywordsrillig1-5/+24
2018-03-06mk/help: ignore topics in lines that are indented by at least 2 tabsrillig1-2/+16
The variable names are typically mentioned in one of these styles: # Package-settable variables: # # VARNAME # Description # Package-settable variables: # # VARNAME # Description Lines that are indented with two tabs contain text. And if one of these lines starts with a variable name, it is just a coincidence. A practical example of this happening is in mk/misc/developer.mk 1.24, where PKGNAME starts a line of description.
2018-03-05Describe bluray option.rjs1-0/+1
2018-03-04mk/check/check-relro.mk: explain what RELRO meansrillig1-2/+3
2018-03-02mk/pkgconfig-builtin.mk: use more recent package in example in commentwiz1-2/+2
2018-02-27Default to devel/libusb-compat for libusb 0.1khorben1-3/+3
No objection on tech-pkg@ Tested on NetBSD/amd64.
2018-02-26mk/misc/show.mk: document the show-all-* targetsrillig1-1/+5
2018-02-20mk: bump mysql default to 57.wiz1-3/+3
2018-02-19mk/internal/locking.mk: improve documentation for "make help"rillig1-2/+2
2018-02-19mk/license.mk: drop the selfmade license guessing code in favor of ninkarillig1-45/+14
2018-02-18Reorder MASTER_SITES_GNU:maya1-6/+8
- Put the main mirror at the lowest priority. it seems to be struggling. - Add two mirrors that seem decent at the highest priority.
2018-02-10Import global switch for libusb's implementation [1/2]khorben2-1/+44
This switch is meant to be used by packages requiring an implementation of the former libusb (as in devel/libusb). The original implementation can be chosen by setting LIBUSB_TYPE to "native". The alternative implementation libusb-compat (as in devel/libusb-compat) wraps libusb1 (in devel/libusb1). This implementation can be chosen by setting LIBUSB_TYPE to "compat". On NetBSD, it has the advantage of not requiring root privileges to locate and use USB devices without a kernel driver. This first part only imports the switch framework itself.