summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2016-05-04Handle MANZ for print-PLIST.jperkin1-1/+2
2016-05-02Add description for sit and tuning PKG_OPTIONS used by bind910.taca1-0/+2
2016-05-01Document afterstep option.dholland1-0/+1
2016-04-21Add hpnd to DEFAULT_ACCEPTABLE_LICENSES and *default_acceptable_licenses.leot1-1/+2
Discussed in tech-pkg@: http://mail-index.netbsd.org/tech-pkg/2016/04/20/msg016755.html Thanks to Memnon Anon!
2016-04-17Add some osdn.jp mirror sitesryoon1-1/+8
2016-04-17Revert part of the MACHINE_ARCH cleanup that resulted in the Linux/x86_64jperkin1-2/+2
triplet reporting as x86_64-pc-linux. Go back to the previous triplet of x86_64-unknown-linux which matches what config.guess outputs.
2016-04-12Added a ${RUN} to the UNPACK line for the ocaml-findlib-register scriptjaapb1-1/+2
2016-04-12Added a pkginstall fragment that takes over from ocaml-findlib-register (ajaapb5-4/+117
script included in the ocaml-findlib package) and removes the need to call said script explicitly from PLIST. Packages that use findlib will now automatically add directories that are in OCAML_FINDLIB_DIRS (set by default to $(OCAML_SITELIBDIR)/${PKGBASE}) to the file ${PREFIX}/lib/ocaml/ld.conf. This behaviour can be disabled by undefining OCAML_FINDLIB_REGISTER.
2016-04-11Re-arrange parsing order to fix various combinations of PKGMANDIR, MANZ,jperkin1-10/+10
and MKCATPAGES.
2016-04-11the native soelim is gsoelim so default it as TOOLS_PLATFORM.gsoelimdbj1-1/+2
2016-04-11update PKG_{FAIL,SKIP}_REASON with +=dbj14-31/+31
2016-04-10Remove support for USE_DESTDIR=no.joerg17-327/+42
2016-04-10Adjust USRGROUP_PHASE handling for USE_DESTDIR=no removal. Updatejoerg1-7/+7
documentation to reflect the pre-install option.
2016-04-10Always require the 2010 version of pkg_install to simplify things a bit.joerg1-5/+1
2016-04-10Rewrite somewhat in light of the non-DESTDIR removal.joerg1-20/+5
2016-04-10Remove last glue for PKG_DESTDIR_SUPPORT=none.joerg1-7/+1
2016-04-10PKG_DESTDIR_SUPPORT=none is gone.joerg1-4/+1
2016-04-10Drop support for PKG_DESTDIR_SUPPORT=none.joerg1-9/+4
2016-04-09add mtpz options to enable MTPZ support using libgcryptrichard1-0/+1
2016-04-09Add two options:richard1-0/+2
libusb-1 - Enable USB access via libusb-1. nautilus - Enable nautilus sub-menu option.
2016-04-08Switch from pkg-config to pkgconf.wiz1-2/+2
2016-03-23Move handling for PKG_SUPPORTED_OPTIONS and PKG_SUGGESTED_OPTIONS asjperkin2-3/+12
OPSYSVARS to bsd.options.mk as they affect tests against PKG_OPTIONS before bsd.pkg.mk is parsed. Approved for commit during the freeze by agc@.
2016-03-17Since the MACHINE_ARCH cleanup, the bootstrap for i386-on-x86_64 Linux hasjperkin2-3/+7
been broken due to NATIVE_MACHINE_ARCH no longer being set to x86_64. Fix this by introducing HOST_MACHINE_ARCH which refers to the underlying host architecture rather than bmake's native architecture, thus differentiating between cross-compiling and multilib. This is currently only set on Linux as the only OPSYS which currently requires such a test, but can be expanded to other OPSYS as necessary.
2016-03-14Add support for -isystem to legacy wrappers.markd5-5/+37
rewrite "-isystem dir" as "-isystem,dir" transform "-isystem,dir" in same ways as "-Idir" rewrite "-isystem,dir" back to "-isystem dir" in cmd-sink
2016-03-13Also determine when compiling from source fileskhorben2-4/+16
This allows fixing an issue with PKGSRC_MKPIE, where "gcc source.c" would not work. Some packages rely on this test to determine if a working compiler is available.
2016-03-12Also register "-pie" as a known argument for gcc(1)khorben1-1/+2
As suggested by wiz@
2016-03-12don't default to EOL versions of java:tnn1-6/+7
- change Linux x86 from sun-jdk6 to oracle-jdk8 - change SunOS x86 from openjdk7 to openjdk8 - change DragonFly from openjdk7 to openjdk8 leave Darwin at sun-jdk6 for now, not sure how the builtin stuff works ...
2016-03-11Re-arrange support for FORTIFY/MKPIE/RELRO/SSPkhorben4-27/+33
- No _GCC_* anything in mk/bsd.prefs.mk; - No compiler flags in platform files. Tested again on NetBSD/amd64, with and without cwrappers, with the same outcome. With feedback from jperkin@
2016-03-11Add support for a number of security featureskhorben9-28/+176
- Revisit (and rename) support for FORTIFY as PKGSRC_USE_FORTIFY (instead of PKGSRC_USE_FORT) for easier support outside NetBSD/gcc; - PKGSRC_USE_SSP is no longer enabled by default when PKGSRC_USE_FORTIFY is enabled; - PKGSRC_MKPIE builds executables as PIE (to leverage userland ASLR) - PKGSRC_USE_RELRO builds with a read-only GOT to prevent some exploits from functioning. Tested on NetBSD/amd64 by myself, in every combination, with and without pkgtools/cwrappers. MKPIE is not supported at the moment with cwrappers. Also, MKPIE is known to still break a number of packages when enabled (and actually supported). Tested on SunOS by jperkin@, thank you! As discussed on tech-pkg@, the default behavior is not changed, except where noted above. ok bsiegert@
2016-03-11Strip --enable-new-dtags GNU ld arg on Darwin and SunOS.fhajny2-2/+6
2016-03-11Explicitly skip directories. PR 50955.dholland1-1/+4
2016-03-11let's do just "Solaris" instead of "Oracle"tnn1-2/+2
The only current use of this is pbulk's subject line, and Solaris 11.3 makes more sense than Oracle 11.3.
2016-03-11for SunOS, assume that OS_VARIANT is Oracle if no match on other variantstnn1-2/+5
for OmniOS, stop processing /etc/release after the first line
2016-03-10Remove _OPSYS_WHOLE_ARCHIVE_FLAG and _OPSYS_NO_WHOLE_ARCHIVE_FLAG, thesejperkin25-158/+24
variables are unused and in at least one case were completely wrong anyway.
2016-03-10Reset 'found' variable for each library check. Previously, all subsequentjperkin1-1/+2
tests would pass after the first successful check. Exposes library issues in a number of packages.
2016-03-09Add special handling for Debian derived systems as they do not have GNU awktnn1-3/+13
in /usr/bin/awk but mawk. Use /usr/bin/gawk if it exists, otherwise depend on gawk from pkgsrc when required.
2016-03-07Add gnupg2 and gnupg21 optionsryoon1-0/+2
2016-03-04pass correct ABI via OBJECT_MODE environment variable on AIXtnn3-53/+10
It turns out a handful of AIX binutil-like utilities are particular about type of object files they should examine. Instead of piping through flags for each utility everywhere, it is easier to just export 'OBJECT_MODE=[32|64]' instead. From Eric N. Vander Weele.
2016-03-04Added OCAML_USE_OASIS_DYNRUN optionjaapb1-4/+27
2016-03-04pass correct ABI flags to ar(1) on AIXtnn2-1/+52
AIX is particular about the type of object files `ar` should examine. This should be set explicitly to coincide with the user's defined $ABI. Contributed by Eric N. Vander Weele.
2016-03-02Pass correct GCC ABI flags on AIX.jperkin1-2/+7
Fix from Eric N. Vander Weele <ericvw@gmail.com>
2016-02-29Remove a commonly used set of GNU ld arguments which are incompatiblejperkin1-1/+13
with the Darwin linker. Fixes various packages.
2016-02-26Add snappy option descriptionfhajny1-0/+1
2016-02-26Add wiredtiger option description.fhajny1-0/+1
2016-02-26Add MAKE_FLAGS to the default list of OPSYSVARS, it's used enough times.jperkin1-2/+2
2016-02-25PostgreSQL 9.5 awarenesstnn1-3/+12
2016-02-25Expand the default list of OPSYSVARS to include those commonly usedjperkin1-1/+5
already, plus those that are most used in OPSYS-specific sections.
2016-02-24Remove overrides for OPENAL_INCLUDE_DIR and OPENGL_INCLUDE_DIR. Thesejperkin1-3/+1
conflict with pkgsrc versions of those packages, and do not interact well with the wrappers anyway as cmake will perform simple file-based tests for headers but the compiler will be unable to find them.
2016-02-24Default to the system libuuid. The system headers assume that the libuuidjperkin1-1/+2
header provides the uuid_string_t typedef, which is not the case with the version coming from pkgsrc.
2016-02-24Fix issue with VAX when awk's split is called with empty string.jklos1-1/+3