Commit graph

9271 commits

Author SHA1 Message Date
ryoon
f4cce41621 Allow '-l m' like '-lm' and update the comment for -l and -D
O.k. by jperkin@ and dholland@
2016-09-16 13:12:29 +00:00
taca
a279c1aa65 Add description for iconv, nginx and php-sockets. 2016-09-13 16:07:14 +00:00
maya
7068769a8f Add logic so GCC_REQD+=6.x works
ok jperkin@
2016-09-13 07:59:15 +00:00
maya
3a3ad52105 Introduce GFORTRAN_VERSION, pick which version of gfortran is used.
modified patch from Rin Okuyama
PR pkg/50722: do not hardcode lang/gcc48 in gfortran.mk

"looks ok, needs docs" - wiz
"it'll do for now, ideally I'd like something more robust and possibly
integrate into gcc.mk's path selection" - jperkin
2016-09-12 12:18:13 +00:00
wiz
89b7279e32 Remove ftp.tex.ac.uk, it does not allow connections. 2016-09-11 13:04:28 +00:00
joerg
852712577b Rename RUBY_VERSION_SUPPORTED into _RUBY_VERSIONS_ACCEPTED to follow the
naming scheme of the other multi-version packages. Add support for the
coorresponding RUBY_VERSIONS_INCOMPATIBLE list.
2016-09-08 15:19:16 +00:00
joerg
e9a8511669 Add PHP_VERSIONS_INCOMPATIBLE to filter out unsupported versions,
especially if a package requires newer versions.
2016-09-08 09:40:11 +00:00
jperkin
726fbdb877 Support UNLIMIT_RESOURCES=cputime on Darwin. 2016-09-06 09:50:20 +00:00
jnemeth
464f0c5b40 mention libdbi 2016-08-30 02:01:47 +00:00
joerg
b33b40aeb1 Explicitly unset CONFIG_SITE. Some Linux distributions like SuSE set it
in the default environment and provide a config.site overriding the
default libdir settings. This breaks havoc with our PLISTs and expected
library paths, so kill it.
2016-08-26 16:51:56 +00:00
jperkin
ed6c0a593f Support UNLIMIT_RESOURCES=cputime on SunOS. 2016-08-25 12:08:29 +00:00
richard
334542855d Add experimental aarch64 support (amlogic s905 under ubuntu) 2016-08-24 05:31:20 +00:00
wiz
200e3df4b5 Add two option descriptions for p5-Module-Build. 2016-08-21 07:14:38 +00:00
adam
99864d3ee3 Fix for otool from Xcode 8.0 2016-08-20 18:52:42 +00:00
wiz
7464e41200 Less noise. 2016-08-19 12:17:26 +00:00
asau
8ed2939d16 Handle special case of URLs prepended with dash. 2016-08-09 15:16:35 +00:00
wiz
52d4a1294a Remove some non-working sunsite mirrors (and a mirror of something else) 2016-08-01 09:35:56 +00:00
jperkin
9900231406 Support NetBSD man/html entries. Fixes deforaos-*. 2016-07-26 08:41:36 +00:00
wiz
c9148563a4 Remove special PRINT_PLIST_AWK for a couple of variables.
In particular:
OS_VERSION
MACHINE_GNU_PLATFORM
MACHINE_ARCH
MACHINE_GNU_ARCH
LOWER_OS_VERSION

Reason: Only very few packages really need these, many other have false
positives.

Ok jperkin@
2016-07-25 21:57:23 +00:00
leot
d36f22066b Fix a typo in a comment 2016-07-18 09:57:10 +00:00
leot
7321250d39 Get rid of XXX comment, everything is now installed from ${WRKDIR}/.destdir 2016-07-14 14:43:55 +00:00
jperkin
8fee57ccb0 Switch SunOS-5.11-i386 default back to openjdk7. Oracle have broken 32-bit
support in openjdk8 and have no intention of fixing it.
2016-07-13 14:16:17 +00:00
wiz
ad3aa52d45 Run mk/scripts/mkreadme in quiet mode by default. 2016-07-11 22:53:48 +00:00
rillig
9a44ed19cd Replaced while loop with for loop and initialized indentation. 2016-07-10 07:08:21 +00:00
dholland
f39f6090b1 Remove obsolete anti-cycle logic; fixes PR 48961. 2016-07-09 17:12:22 +00:00
rillig
057875c2f0 Added keywords for "make help". 2016-07-09 16:32:54 +00:00
rillig
a19abe8a9a Fixed pkglint warnings about unnecessary whitespace and indentation. 2016-07-09 09:54:27 +00:00
sevan
62a7145565 Opt to prefer OpenSSL from pkgsrc rather than a builtin version for all versions rather than just 10.7 or newer.
There is no good reason to opt for the builtin on the legacy release prior as they're unmaintained.
2016-07-08 21:23:57 +00:00
wiz
dd02618689 Be less verbose. 2016-07-07 12:01:22 +00:00
wiz
e3a74a47f5 Be less verbose. 2016-07-07 11:29:34 +00:00
wiz
4c15a3aebc Describe new duplicity options. 2016-07-07 08:36:02 +00:00
sevan
bc046352ab DragonFly BSD ships with GCC 5.x as the compiler, add its library location to _OPSYS_SYSTEM_RPATH 2016-06-29 13:37:19 +00:00
jaapb
8bf82f0dd4 Updated pkginstall framework to correct bug in findlib registration.
Discussed on packages@ and okayed by jperkin.
2016-06-25 13:52:28 +00:00
jaapb
c18ee77937 Added variables to package variables 2016-06-20 19:44:04 +00:00
wiz
e8ec446a6d Get rid of INSTALLATION_PREFIX. 2016-06-19 20:03:09 +00:00
wiz
5605293df9 Remove support for USE_CROSSBASE. 2016-06-19 18:01:58 +00:00
prlw1
be471adb13 Describe ecap option - eCAP is like ICAP (RFC 3507) 2016-06-17 16:01:32 +00:00
jaapb
5b9387d7eb Two fixes to the ocaml-findlib-register pkginstall fragment:
- set a sensible default for OCAML_FINDLIB_DIRS (and factorise out
  OCAML_SITELIBDIR)
- make it possible not to register any directory by setting
  OCAML_FINDLIB_REGISTER to no
2016-06-17 08:53:42 +00:00
mspo
9f870b7185 add ftp6 to binpkg_sites, at request of joerg, since cdn is ipv4 only 2016-06-16 18:28:45 +00:00
mspo
dd873a033d add ftp6 into the list of MASTER_SITE_BACKUP 2016-06-16 18:23:01 +00:00
mspo
1a0cbbdc8d set cdn.netbsd.org as the bin install site for netbsd 2016-06-16 00:14:55 +00:00
mspo
521ef20129 add cdn.netbsd.org to the top of MASTER_SITE_BACKUP 2016-06-16 00:13:38 +00:00
jperkin
c02e752f64 Change PKGSRC_USE_SSP to a quad option. The options are now:
"no"     Do not pass any stack protection flags (the default)
   "yes"    Pass -fstack-protector
   "strong" Pass -fstack-protector-strong
   "all"    Pass -fstack-protector-all

This allows users to configure the level of stack smashing protection they
require, and ensures consistent behaviour across platforms.  Users running
on NetBSD who previously used the option will need to change "yes" to "all"
to match the previous default configuration for that platform.

While here use _WRAP_EXTRA_ARGS to ensure the flag gets passed regardless
of whether the package honours CFLAGS, and support additional wrappers.

Discussed a while back with khorben, and used in production for the SmartOS
2016Q1 package sets with the "strong" option.
2016-06-13 13:26:42 +00:00
rillig
077f4537d6 Improved documentation of show-var and show-vars. 2016-06-11 12:41:30 +00:00
markd
3d30e908bb In cwrappers case transform ${X11BASE} path after ${LOCALBASE} path
in case its a prefix of ${LOCALBASE}.
Fixes build of print/poppler-glib and others when using CWRAPPERS
on Linux with native X and ${X11BASE}=/usr
2016-06-09 02:38:34 +00:00
leot
69c74af7e6 Get rid of the XXX trying to provide a bit more information regarding
PKG_VERBOSE.

PKG_VERBOSE currently is mostly used consistently in order to pass the `-v'
option to various commands (FETCH_CMD, PATCH, plist/doc-compress,
pkg_delete(1)).
It is also used internally (and a bit less consistently) in other cases to
provide more information mostly useful only for debugging.

ok <bsiegert>
2016-06-06 15:13:24 +00:00
joerg
6b5fefdd15 Honour ALL_ENV in print-PLIST. 2016-06-03 14:32:30 +00:00
wiz
40b7c6735c Update URL to new pypi master site. 2016-06-01 12:40:06 +00:00
wiz
1cdbd2a052 Fix MASTER_SITES example. 2016-06-01 12:39:40 +00:00
wiz
8c393357d6 Remove dm-download02.mozilla.org, it doesn't resolve. 2016-05-29 12:17:53 +00:00
schnoebe
c84fde74b2 Add descriptions for fax and websocket. 2016-05-28 23:27:45 +00:00
leot
51abca7132 Add aslr mprotect pax paxctl' keywords to help help' target. 2016-05-27 08:33:00 +00:00
khorben
92db94d1e0 Correct the name of the user-settable variable
Noticed by wiz@, thanks!
2016-05-26 16:37:02 +00:00
khorben
169865dfeb Import mini-framework for paxctl(8) on NetBSD/{amd64,i386}
This allows setting flags for PaX on select binaries. Two new variables
are introduced for packages: NOT_PAX_ASLR_SAFE and NOT_PAX_MPROTECT_SAFE.
They both expect a list of binaries are known to not support PaX ASLR
and/or PaX MPROTECT, respectively.

"Please commit" wiz@
2016-05-26 16:03:04 +00:00
snj
bba3a64409 +geoclue 2016-05-18 22:48:08 +00:00
snj
0e2e0dbaef add libdrm 2016-05-18 22:24:53 +00:00
wiz
e3a623858d ftp.OpenBSD.org does not provide public ftp any longer, only http. 2016-05-17 09:28:06 +00:00
jperkin
3b01e58d8a Restore print-PLIST @pkgdir functionality. This was lost in the @dirrm
cleanup as the implicit print action was removed.
2016-05-10 16:54:05 +00:00
jperkin
11d02981ed Stop using the native texi2html on SunOS. It's not fully compatible
with what packages such as multimedia/ffmpeg2 expect, and as so few
packages have texi2html in USE_TOOLS it may be causing more problems
that it is worth to save a few dependencies.  PR#51113.
2016-05-10 08:54:49 +00:00
joerg
6c00682f76 Stop creating category symlinks in ${PACKAGES}, but keep All/ for now. 2016-05-09 00:07:23 +00:00
jaapb
365da8a4e1 Setting OCAML_USE_OASIS now automatically adds ocamlbuild as a build
dependency
2016-05-06 14:13:23 +00:00
jperkin
7f4b9e129e Handle MANZ for print-PLIST. 2016-05-04 11:17:41 +00:00
taca
1c8b6651cb Add description for sit and tuning PKG_OPTIONS used by bind910. 2016-05-02 13:29:19 +00:00
dholland
8ce9bb5192 Document afterstep option. 2016-05-01 19:35:48 +00:00
leot
cf2c59f74f Add hpnd to DEFAULT_ACCEPTABLE_LICENSES and *default_acceptable_licenses.
Discussed in tech-pkg@:
http://mail-index.netbsd.org/tech-pkg/2016/04/20/msg016755.html

Thanks to Memnon Anon!
2016-04-21 07:51:51 +00:00
ryoon
f5a6e41c04 Add some osdn.jp mirror sites 2016-04-17 09:10:02 +00:00
jperkin
901f82f6b8 Revert part of the MACHINE_ARCH cleanup that resulted in the Linux/x86_64
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-17 08:13:09 +00:00
jaapb
02746ce69d Added a ${RUN} to the UNPACK line for the ocaml-findlib-register script 2016-04-12 16:01:06 +00:00
jaapb
e712e0e4d8 Added a pkginstall fragment that takes over from ocaml-findlib-register (a
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-12 15:52:29 +00:00
jperkin
283634a16c Re-arrange parsing order to fix various combinations of PKGMANDIR, MANZ,
and MKCATPAGES.
2016-04-11 12:29:53 +00:00
dbj
ed7710a502 the native soelim is gsoelim so default it as TOOLS_PLATFORM.gsoelim 2016-04-11 04:49:41 +00:00
dbj
dde82c09aa update PKG_{FAIL,SKIP}_REASON with += 2016-04-11 04:22:33 +00:00
joerg
639d5b402f Remove support for USE_DESTDIR=no. 2016-04-10 15:58:02 +00:00
joerg
738c342050 Adjust USRGROUP_PHASE handling for USE_DESTDIR=no removal. Update
documentation to reflect the pre-install option.
2016-04-10 15:33:42 +00:00
joerg
4287748b6e Always require the 2010 version of pkg_install to simplify things a bit. 2016-04-10 15:20:26 +00:00
joerg
bb6f5a8d35 Rewrite somewhat in light of the non-DESTDIR removal. 2016-04-10 15:15:45 +00:00
joerg
54362eeca1 Remove last glue for PKG_DESTDIR_SUPPORT=none. 2016-04-10 15:10:12 +00:00
joerg
af3ac5987c PKG_DESTDIR_SUPPORT=none is gone. 2016-04-10 15:09:26 +00:00
joerg
bfef30f0c8 Drop support for PKG_DESTDIR_SUPPORT=none. 2016-04-10 15:08:39 +00:00
richard
87d204ea41 add mtpz options to enable MTPZ support using libgcrypt 2016-04-09 10:12:24 +00:00
richard
6d539a4c87 Add two options:
libusb-1 - Enable USB access via libusb-1.
nautilus - Enable nautilus sub-menu option.
2016-04-09 05:26:26 +00:00
wiz
cf765f4607 Switch from pkg-config to pkgconf. 2016-04-08 13:12:33 +00:00
jperkin
13d4067905 Move handling for PKG_SUPPORTED_OPTIONS and PKG_SUGGESTED_OPTIONS as
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-23 11:50:01 +00:00
jperkin
3c2941b993 Since the MACHINE_ARCH cleanup, the bootstrap for i386-on-x86_64 Linux has
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-17 16:02:23 +00:00
markd
9cd5091c7b Add support for -isystem to legacy wrappers.
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-14 20:11:56 +00:00
khorben
1778fc2c25 Also determine when compiling from source files
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-13 15:32:06 +00:00
khorben
d8dbc296fa Also register "-pie" as a known argument for gcc(1)
As suggested by wiz@
2016-03-12 21:22:04 +00:00
tnn
75c9f740a4 don't default to EOL versions of java:
- 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-12 06:27:17 +00:00
khorben
03a56367ef Re-arrange support for FORTIFY/MKPIE/RELRO/SSP
- 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-11 23:54:08 +00:00
khorben
dc4ad6b750 Add support for a number of security features
- 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-11 23:03:31 +00:00
fhajny
124d88ee1d Strip --enable-new-dtags GNU ld arg on Darwin and SunOS. 2016-03-11 22:04:34 +00:00
dholland
69936c6955 Explicitly skip directories. PR 50955. 2016-03-11 21:11:47 +00:00
tnn
7ca6d09a6a let's do just "Solaris" instead of "Oracle"
The only current use of this is pbulk's subject line, and Solaris 11.3
makes more sense than Oracle 11.3.
2016-03-11 05:42:35 +00:00
tnn
52872bb412 for SunOS, assume that OS_VARIANT is Oracle if no match on other variants
for OmniOS, stop processing /etc/release after the first line
2016-03-11 04:58:51 +00:00
jperkin
111893bb36 Remove _OPSYS_WHOLE_ARCHIVE_FLAG and _OPSYS_NO_WHOLE_ARCHIVE_FLAG, these
variables are unused and in at least one case were completely wrong anyway.
2016-03-10 16:58:19 +00:00
jperkin
640104b74c Reset 'found' variable for each library check. Previously, all subsequent
tests would pass after the first successful check.  Exposes library issues
in a number of packages.
2016-03-10 15:56:24 +00:00
tnn
926fcc3996 Add special handling for Debian derived systems as they do not have GNU awk
in /usr/bin/awk but mawk. Use /usr/bin/gawk if it exists, otherwise
depend on gawk from pkgsrc when required.
2016-03-09 22:27:29 +00:00
ryoon
f35fb0553e Add gnupg2 and gnupg21 options 2016-03-07 12:05:01 +00:00
tnn
7f5db266bf pass correct ABI via OBJECT_MODE environment variable on AIX
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-04 21:25:47 +00:00
jaapb
acc9ee8227 Added OCAML_USE_OASIS_DYNRUN option 2016-03-04 15:19:42 +00:00
tnn
fbb9c37ab2 pass correct ABI flags to ar(1) on AIX
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-04 01:38:39 +00:00
jperkin
d11ccc0d54 Pass correct GCC ABI flags on AIX.
Fix from Eric N. Vander Weele <ericvw@gmail.com>
2016-03-02 18:45:21 +00:00
jperkin
b4e6a0bbf3 Remove a commonly used set of GNU ld arguments which are incompatible
with the Darwin linker.  Fixes various packages.
2016-02-29 10:05:47 +00:00
fhajny
ff4009acb2 Add snappy option description 2016-02-26 15:57:21 +00:00
fhajny
259aedbfb1 Add wiredtiger option description. 2016-02-26 12:35:31 +00:00
jperkin
a6c8139ccc Add MAKE_FLAGS to the default list of OPSYSVARS, it's used enough times. 2016-02-26 11:38:37 +00:00
tnn
307ed51e86 PostgreSQL 9.5 awareness 2016-02-25 21:39:07 +00:00
jperkin
499492952d Expand the default list of OPSYSVARS to include those commonly used
already, plus those that are most used in OPSYS-specific sections.
2016-02-25 08:20:25 +00:00
jperkin
9bd8757b52 Remove overrides for OPENAL_INCLUDE_DIR and OPENGL_INCLUDE_DIR. These
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-24 15:24:56 +00:00
jperkin
43cbbd8b78 Default to the system libuuid. The system headers assume that the libuuid
header provides the uuid_string_t typedef, which is not the case with the
version coming from pkgsrc.
2016-02-24 14:59:56 +00:00
jklos
85563e4143 Fix issue with VAX when awk's split is called with empty string. 2016-02-24 08:54:23 +00:00
joerg
ee75c51786 Add a new override mechanism for depcomp, similar to the existing
overrides for libtool. This allows us to easily get the fixed version
from our libtool in place without having to hunt down for the specific
bugs in random places. Disable the override explicitly in clisp, which
installs a copy without explicitly depending on libtool at run time.
2016-02-23 15:19:23 +00:00
jperkin
22af365a50 Export OSX_VERSION (renamed from OSX_VERS) to the environment regardless of
whether we're using the SDK path or /usr/include, as it is useful for other
contexts than simply determining the SDK directory.
2016-02-22 19:57:41 +00:00
jperkin
f946849744 Add an additional check to ensure that library REQUIRES are not relative
paths.  These would previously pass the checks as the files would exist
when checking from within the DESTDIR, but were not resolvable at runtime.
2016-02-19 15:10:23 +00:00
jaapb
9101e5296c Added ppx and camlp4 options. 2016-02-17 16:54:59 +00:00
taca
0f21f3b206 Update MASTER_SITE_RUBYGEMS to avoid extra redirection. 2016-02-14 06:55:08 +00:00
wiz
2a9c8e31cf Add paratype to default-allowed licenses, since it is basically ofl-v1.1. 2016-02-10 10:50:18 +00:00
jaapb
339d229d93 Removed the automatic setting of PKGNAME to ocaml-${DISTNAME} from
ocaml.mk. It was becoming more trouble than it was worth: only a minority
of packages used it, and it only made Makefiles more confusing.
(I've left out some packages: these will be updated forthwith)
2016-02-06 12:06:07 +00:00
leot
6ced276e61 Document the glfw option. 2016-02-04 11:52:31 +00:00
rillig
4b745bef97 Changed "Install binary package" to "Installing binary package" 2016-02-02 08:15:07 +00:00
leot
1bcc4f4422 Add keywords to print/texlive/package.mk and instruct mk/help/help.mk to also
look for print/texlive/*.mk files for help.

Now documentation regarding TeX packages for pkgsrc MAINTAINERs and
developers is easily accessible via the "help" target.

ok wiz@
2016-02-01 18:47:23 +00:00
rillig
913583c370 Fixed subst.mk not to corrupt files
Up to now, using subst.mk may have led to file corruption during active
package development. This happened when a sed(1) command had a syntax
error, in which case the whole sed(1) command was terminated, leaving an
empty original file behind.

This commit changes that behavior by applying the sed(1) commands to
the original file and saving the result in a temporary file. Only
after that succeeded is the original file overwritten.

During this rewrite, SUBST_POSTCMD has been removed, since it was
only used in one place (mk/wrapper), and since it relied on the exact
sequence of the internal commands. No package in either main pkgsrc
or pkgsrc-wip uses this variable right now.
2016-01-31 17:27:41 +00:00
tron
8f9479677b Deal with type hiding under NetBSD-current to e.g. fix the build
of e.g. the "fuse-ext2" package.
2016-01-28 20:50:07 +00:00
jperkin
ac56158090 Attempt to bring sanity to how ABI and MACHINE_ARCH are set.
Previously there were at least 5 different ways MACHINE_ARCH could be set,
some statically and some at run time, and in many cases these settings
differed, leading to issues at pkg_add time where there was conflict
between the setting encoded into the package and that used by pkg_install.

Instead, move to a single source of truth where the correct value based on
the host and the chosen (or default) ABI is determined in the bootstrap
script.  The value can still be overridden in mk.conf if necessary, e.g.
for cross-compiling.

ABI is now set by default and if unset a default is calculated based on
MACHINE_ARCH.  This fixes some OS, e.g. Linux, where the wrong default was
previously chosen.

As a result of the refactoring there is no need for LOWER_ARCH, with
references to it replaced by MACHINE_ARCH.  SPARC_TARGET_ARCH is also
removed.
2016-01-24 16:14:44 +00:00
mef
df83c2aea0 mysql.llarian.net is not on DNS record of llarian.net 2016-01-23 02:46:39 +00:00
zafer
e33ff3d3ae update sites.mk. remove non-working mirrors. 2016-01-22 07:56:01 +00:00
khorben
5e84b71d39 Remove support for APACHE_CUSTOM_CFLAGS
This goes as far back as 2001 (mk.conf.example) but there should not be any
reason to explicitly set CFLAGS for specific packages. In practice this
even fixes support for global CFLAGS in www/apache{22,24}.

ok gdt@
2016-01-20 13:29:29 +00:00
wiz
d89eac75cc Add farstream option description. 2016-01-13 22:27:31 +00:00
rillig
d904a0c3e5 Added keyword "platform" for "bmake help" 2016-01-12 19:55:41 +00:00
dholland
ed95567cee Use :tA to make DISTINFO_FILE absolute when passing it to the fetch
and checksum scripts.

Fixes the problem where DISTINFO_FILE=../../foo/bar/distinfo doesn't
work without having an extraneous and ugly ${.CURDIR} stuffed into it
by hand.
2016-01-06 07:38:25 +00:00
wiz
0d10e4a090 Look in lang/go/*.mk for help topics too. 2015-12-27 19:41:29 +00:00
joerg
d0abbc4cdc Make USE_DESTDIR != yes an error. 2015-12-27 12:37:29 +00:00
tsutsui
4af0f9785a Describe scim option. 2015-12-19 14:13:19 +00:00
asau
6409029991 Make the pbulk deployment script more reusable:
- allow setting non-default prefix;
 - avoid embedding non-essential settings into binary bootstrap kit.
2015-12-14 21:12:01 +00:00
jperkin
698717d710 Extend the El Capitan HFS+ bug workaround to 15.1.0 but no further, I can
confirm that Apple fixed the bug in the recent 15.2.0 (10.11.2) update.
2015-12-14 14:14:33 +00:00
sevan
168d1b7354 Define MACOSX_DEPLOYMENT_TARGET for Tiger to allow current releases
of software such as Ruby to build on Tiger/PowerPC.
Tested with & without on a G4 with Tiger & Leopard.
It was not needed on Leopard as the linker defaults to a target of 10.5 &
setting it back broke the bootstrap process.

Reviewed by wiz@ long ago.
2015-12-13 22:38:00 +00:00
richard
f373158641 Make sure FAKEHOMEDIR is created when WRKDIR is.
Add fgrep to default USE_TOOLS for good measure.
2015-12-13 06:05:25 +00:00
jperkin
454f6fae69 Perform interpreter sed(1) check with LC_ALL=C, avoids failures on newer
Darwin releases with "sed: RE error: illegal byte sequence".
2015-11-27 12:45:04 +00:00
jperkin
7002b040bb Remove mk/find-prefix.mk and its usage from the mk infrastructure.
The find-prefix infrastructure was required in a pkgviews world where
packages installed from pkgsrc could have different installation
prefixes, and this was a way for a dependency prefix to be determined.

Now that pkgviews has been removed there is no longer any need for the
overhead of this infrastructure.  Instead we use BUILDLINK_PREFIX.pkg
for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the
dependency is coming from pkgsrc.

Provides a reasonable performance win due to the reduction of `pkg_info
-qp` calls, some of which were redundant anyway as they were duplicating
the same information provided by BUILDLINK_PREFIX.pkg.
2015-11-25 13:05:47 +00:00
jperkin
266de5d44b Do the "defined && !empty" dance for NetBSD 5 make. 2015-11-24 09:41:20 +00:00
mef
5808390ba6 Fix typo in comment line (three -> two) 2015-11-23 00:49:26 +00:00
richard
9537608068 PR pkg/47404
wrapper should convert '--rpath' to '-rpath', fixing pysvn as well as
many other packages inadvertently using double-dash form of rpath.
2015-11-20 05:49:24 +00:00
jperkin
42f3575ed2 Ensure building 32-bit on 64-bit is supported when using cwrappers too. 2015-11-18 22:30:12 +00:00
mef
50f7fae790 Adding wxGTK.mk, main purpose for migration to wxGTK30 from wxGTK28
for the memoent:
  Because multiple versions of wxGTK cannot currently coexist, the
strategy is to use a single version, with each package building with
it if possible and failing otherwise.
Thanks gdt@ for comments and corrections.
2015-11-17 13:42:35 +00:00
jperkin
c2fe79eceb Add support for CHECK_WRKREF_EXTRA_DIRS to check-shlibs. If "extra" is
listed in CHECK_WRKREF then these directories will added to the checks
for rpath references.
2015-11-16 17:53:29 +00:00
jperkin
6e420f7378 Always set _OPSYS_CAN_CHECK_SHLIBS to "yes" regardless of whether
TOOLS_PATH.readelf is set.  This is a PKG_DEVELOPER feature and it's
likely the developer is smart enough to either have it already available
in $PATH or be able to install it (e.g. via devel/binutils) if required.
2015-11-16 15:59:59 +00:00
leot
aff1d75674 Fix a typo in a comment. 2015-11-08 03:21:46 +00:00
sevan
a34c13abf3 MACHINE_ARCH for Bitrig/amd64 is now set to x86_64
Ammend if statement
2015-11-07 23:46:28 +00:00
sevan
93d320158c With OpenBSD/amd64 & Bitrig/amd64 switched to using MACHINE_ARCH=x86_64,
amd64 no longer needs to be accounted for specifically.
Remove redundant references.


Reviewed by wiz@
2015-11-07 20:00:19 +00:00
sevan
4de02a05c5 Add the necessary logic for setting Bitrig/amd64 to Bitrig/x86_64.
Switch to using arch(1) to populate $LOWER_ARCH on Bitrig

Reviewed by wiz@
2015-11-07 19:53:49 +00:00
sevan
266cff67cd Add the necessary logic for setting OpenBSD/amd64 to OpenBSD/x86_64.
Reviewed by wiz@
2015-11-07 13:35:44 +00:00
he
d5b3e2619b Make sure the pbulk user is created with /bin/sh as shell,
at least on NetBSD.  Trying to build with /bin/csh as login
shell leads to a rather cryptic "Illegal variable name" error
message for all bulk-built packages.
2015-10-29 22:12:04 +00:00
jperkin
f67ff360ae Perform signing at the staged package stage rather than only during the
copy to the target pkgfile.  Ensures consistency at all stages, means we
can support verifying the signature at install time, and also fixes signed
packages with recent pbulk changes which now invoke 'stage-package-create'
rather than 'package'.
2015-10-29 20:09:28 +00:00
leot
10aea8fb82 Add plotutils option. 2015-10-28 20:06:51 +00:00
wiz
44d87b77e4 Describe cerf option. 2015-10-28 19:02:54 +00:00
jnemeth
05d786d6c8 add asterisk-config option 2015-10-27 08:50:45 +00:00
jperkin
f0a45a9e36 GCC on SunOS supports a non-standard -mimpure-text argument which clang
does not have, so remove it unconditionally in the latter case.  Fixes
various packages.
2015-10-26 09:33:16 +00:00
wiz
1ab1ae5d04 Describe a vlc option. 2015-10-25 10:56:47 +00:00
wiz
7c35ba72d8 Describe two options. From Rin Okuyama in PR 50363. 2015-10-25 10:14:27 +00:00
joerg
35841dc13b Unhook further PG 8.4 and 9.0 redirection. 2015-10-24 21:21:26 +00:00
joerg
b7008c73ea Drop EOLed PostgreSQL 8.4 and 9.0 from the supported list of PG
versions.
2015-10-24 21:18:12 +00:00
tnn
351c726fe7 Don't encode the github tag into the distfile name if we are packaging
a github release and the release version happens to look like a tag.
(a date like 20150714 could be misinterpreted as a git "short SHA")
2015-10-19 14:24:26 +00:00
sevan
5481fd2fed Add the mapping for amd64 to its GNU architecture name x86_64.
Needed for switching OpenBSD/amd64 & Bitrig/amd64 to x86_64.

Reviewed by wiz@
2015-10-17 01:50:46 +00:00
wiz
d15f48992a Switch from x11/Xaw3d to newer x11/libXaw3d.
Adapt some packages so they build with that.
Bump their PKGREVISIONs.
2015-10-14 20:17:24 +00:00
agc
f8e65d3863 Now that it looks like SHA1 is getting closer to its end of life, add
the SHA512 digest to the mix of digests we keep for each distfile.

All part of providing stronger digests for pkgsrc, as discussed on
tech-pkg recently, with unanimous agreement.  There will be further
changes in this area in the near future, as we transit away from
reliance on SHA1 and RMD160.

New distinfo files will gain a SHA512 digest entry.  Existing
verification of distinfo files will just use the SHA1 and RMD160
digests which exist right now.
2015-10-12 18:23:48 +00:00
jperkin
9b32afd280 Support compressed manual pages with 3am and 3f suffixes. 2015-10-12 09:08:22 +00:00
ryoon
955e585ec0 Update MASTER_SITE_OSDN server names. 2015-10-10 15:17:17 +00:00
jperkin
4b29fd757a Append to PKG_FAIL_REASON rather than setting it so we don't overwrite other
potentially more useful failure messages.
2015-10-10 13:13:45 +00:00
jperkin
2385012594 Set PKG_FAIL_REASON with a useful failure message if we cannot find an SDK. 2015-10-10 13:12:50 +00:00
he
076c67fb2c Correction to the previous: we must use ${GREP} -E, there's no ${EGREP} here. 2015-10-09 17:27:09 +00:00
he
d734d0f99c Extend the pattern matching the -v output from pcc. 2015-10-08 21:09:53 +00:00
richard
a182cf16d2 accidental ommission of a suppressed line 2015-10-08 18:16:31 +00:00
richard
b8ac1f30b0 Quick workaround for groff tools issue per joerg@
Still needs, as many tools, TLC to simplify tools.*.mk as well as adding
a builtin check.
2015-10-08 17:17:23 +00:00
jperkin
8c5fa136b6 OSX El Capitan has an interesting file system bug which allows a deep
directory hierarchy to be created but not removed.  This is triggered by
the GNU getcwd-path-max.m4 configure test used in lots of GNU software,
and causes the builds to fail in pbulk as 'make clean' cannot complete.

For now we provide a cached result for the test to avoid running it,
using a 'no' value as the test is for a specific glibc bug.

This bug has been brought to Apple's attention by the NixOS developers,
raised as https://openradar.appspot.com/radar?id=6160634819379200.  For
now we mark only 10.11.0 (15.0.0) as having the bug - it remains to be
seen whether Apple will fix it in the upcoming .1 release.
2015-10-08 11:36:00 +00:00
jperkin
a2a6924a60 Support .3am (lang/gawk) and .3f (math/udunits) cat/man page suffixes, fixing
builds with PKGMANDIR=share/man for those packages.

Put the regexes into variables to make it easier to add more in the future.
2015-10-07 09:56:14 +00:00
jperkin
348b937c46 Re-order the way _OPSYS_INCLUDE_DIRS is calculated, and only perform checks for
the SDK path if we need to.

This avoids issues on Yosemite and Xcode 7, which drops support for the 10.10
SDK.  Trying to determine the SDK path fails, but the failure is not cached in
the xcrun database, so each call to a compiler tool is unecessarily delayed (by
around 3 seconds on my build hosts).

For users still on Yosemite who have upgraded to Xcode 7, the solution is to
install the Command Line Tools so that /usr/include is populated and used.
2015-10-05 17:06:22 +00:00
bsiegert
f0d23e414a Add a list of options to generated README.html files. Patch from
Daniel Loffgren on tech-pkg, slightly modified by me to use dl tags.
2015-10-03 13:17:57 +00:00
richard
4ae0f0183f define TOOLS_PLATFORM.ld in tools.SunOS.mk 2015-09-25 01:57:56 +00:00
tnn
3994ae0d89 describe xatracker option (will be used by MesaLib-11.0.1) 2015-09-24 22:59:11 +00:00
dsainty
004b23284b Alter the behaviour of the "fetch" executable to accept zero download sites
as an acceptable input.

Fixes Pkgsrc for users that set PKG_RESUME_TRANSFERS=yes in their mk.conf if
installing a package that has an interactive fetch stage, after
mk/fetch/fetch.mk revision 1.66.

Tested for all combinations of:

+ PKG_RESUME_TRANSFERS=yes/no; and
+ interactive fetch=yes/no; and
+ distfile=downloaded/not downloaded

... with no signs of misbehaviour.

The specific case that was broken, and this change fixes, is:

+ PKG_RESUME_TRANSFERS=yes; and
+ interactive fetch=yes; and
+ distfile=downloaded

This change was designed with the following considerations:

1. Given it's a freeze, keep it simple.

2. The change in behaviour allows 'fetch' to succeed where it would previously
   fail fatally, so it's unlikely to affect any (intentional) existing
   behaviour in Pkgsrc.

3. The behaviour of 'fetch' with zero sites is essentially the same as a
   fetch where all the possible download sites fail, I.e. Pkgsrc already
   expects to handle such behaviour.

ok gdt@
2015-09-19 11:45:56 +00:00
joerg
cfc3e94d33 Reorder and fix logic snafu. 2015-09-14 08:27:13 +00:00
joerg
7612f47233 Introduce IGNORE_INTERACTIVE_FETCH to allow trying to fetch files from
the override site, even for INTERACTIVE_STATE=stage or FETCH_MESSAGE.
Ignore all backup sites as they won't have the distfile anyway, the
fetch wouldn't be interactive in first place otherwise.
2015-09-13 15:03:57 +00:00
leot
9891cbb6a8 Add vera-ttf-license as DEFAULT_ACCEPTABLE_LICENSES.
The vera-ttf-license is neither approved by OSI nor FSF but it is mostly in line
with Free Software principles. It is also accepted by the DFSG.

Discussed on tech-pkg@:

 http://mail-index.netbsd.org/tech-pkg/2015/09/10/msg015570.html
2015-09-13 11:22:22 +00:00
tnn
815a232339 describe llvm option 2015-09-12 16:56:21 +00:00
leot
2e87702d6d Delete liferea-* options (no longer used by www/liferea, since liferea>=1.6.0). 2015-09-11 15:41:31 +00:00
jperkin
0d3f90c1e9 Ensure the dependency is satisfied by gcc48 rather than potentially pulling
in the gcc48-libs package which isn't supported at this time.
2015-09-11 15:23:21 +00:00
jperkin
46bed0257b Pull in gcc48 as a full dependency. We don't yet have the fine-grained
approach of gcc.mk to only pull in when required, but this fixes a lot of
packages which previously failed check-shlibs.
2015-09-10 19:52:57 +00:00
jperkin
d81e076eb6 _OPSYS_LIB_DIRS entries must be space-separated, not colon. 2015-09-10 19:49:58 +00:00
joerg
d047710b53 Make the post-fetch hook a bit more useful by also handing down the URL
the file was obtained from. This makes it easier to skip any local
mirrors.
2015-09-08 12:37:56 +00:00
jperkin
8a8b2cd412 Ensure OBJECT_FMT is set to ELF on Linux rather than relying on the NetBSD
MAHCINE_ARCH settings in bsd.own.mk.  Fixes at least Sevan's arm64 host.
2015-09-08 12:07:55 +00:00
jperkin
e5e50a0024 Remove NetBSD 0.x and 1.x settings, these have long since been unsupported. 2015-09-08 11:36:34 +00:00
joerg
0cf087a0ae Add a hook for running an action after a successful fetch.
This is intended for keeping distfile archives synchronised between
different machines without requiring NFS mounts or the like.
2015-09-08 11:13:12 +00:00
gdt
553cac4a33 Remove warning about 'make replace' being experimental.
Lots of people have been using make replace for many years, at least
since 2006.  It hasn't been experimental for most of those years, and
there have been no reports of "data loss".
2015-09-07 19:23:47 +00:00
jperkin
1a8008f9b5 Support .so.* files if they exist and are explicitly listed in the
PLIST instead of just .so files.  Fixes a number of packages on Darwin.
2015-09-07 15:30:25 +00:00
jperkin
7af5418044 Disable the strip flag for install(1) by default on Darwin. When called
without arguments, strip(1) will attempt to strip all symbols by default,
and when it is unable to do this will fail with a non-zero exit status.

Passing '-u -r' to strip(1) would in theory resolve the issue, but there
is no simple of way of doing this due to the way strip is called by the
native install program through XCode.  We would need to build a patched
bsdinstall for Darwin, so for now we just disable stripping on install,
as many packages have had to do individually up until now.
2015-09-07 11:48:35 +00:00
jperkin
74fa23ab2a Switch to globbing for package symlinks to delete. This provides significant
performance improvements on at least OSX and SunOS, where each file is stat'd
rather than just the links we are looking for, especially with large package
directories over NFS.
2015-09-07 11:02:28 +00:00
fhajny
601476abdb Add description for the eai option 2015-09-07 09:51:53 +00:00
sevan
27160fa215 Commence deprecation of logic related to detecting the presence of X11 on the
host and whether to use native or pkgsrc components.

With the use of builtin.mk in packages, these tests are superfluous and can
prevent the builtin.mk detection mechanism from working correctly.

Discovered on OpenBSD where X11_TYPE native was being used but the native
MesaLib wasn't because a test to check the presence of xorgversin.def
failed, forcing MesaLib to be added to $PREFER_PKGSRC.

Change leading if statement to default to an empty $PREFER_PKGSRC with OpenBSD &
Bitrig defaulting to this, remaining platforms should also be moved here after
testing, this is in preperation for replacing the block with just the default value for
$PREFER_PKGSRC.

Put together with instruction from jperkin@

Reviewed by jperkin@ wiz@
2015-09-05 21:25:30 +00:00
jperkin
e278916c18 Default to pkgsrc openssl from OSX Lion / 10.7 onwards, where the native
openssl is marked as deprecated.  This causes failures in pkg_install now
that WARNS works correctly (-Werror,-Wdeprecated-declarations).
2015-09-01 11:12:30 +00:00
wiz
b10b081e2e Remove descriptions for removed options. 2015-08-28 07:47:48 +00:00
jperkin
ccc53d4613 Document memcached and sphinx options. 2015-08-20 12:26:46 +00:00
jperkin
f648dfa7c3 Introduce support for checking Mach-O dynamic libraries.
This works in a similar way to the ELF checks, but uses otool(1) to list the
library name and its dependencies, and the checks fail if there are WRKDIR
references or if the -install_name of the library does not match $PREFIX, as
well as ensuring that any libraries from pkgsrc are correctly registered as
full dependencies.

Removes support for the user to set USE_CHECK_SHLIBS_ELF, but there were no
reasonable reasons for doing so in the past anyway, and it may be masking
issues in platform files we should fix.
2015-08-17 17:35:23 +00:00
jperkin
6652f12ad9 Fix check-shlibs regular expression to match .dylib/.sl the same as .so 2015-08-17 16:39:13 +00:00
ryoon
38bdec5e72 Set openjdk8 as default on NetBSD 5 or later.
openjdk7 is no longer updated and it is vulnerable.
2015-08-12 01:06:45 +00:00
ryoon
618d723ff4 Anonymous ftp service of ftp.mozilla.org is no longer provided. 2015-08-11 23:41:41 +00:00
khorben
8ce191e1e1 Add support for building with fortify
This is pretty much the same change as with SSP, and completes it with
support for fortify (like USE_FORT in NetBSD's base system). Like SSP, this
is disabled by default for the moment. Like in NetBSD's base system,
enabling fortify explicitly also enables SSP by default - but SSP can still
be disabled explicitly in this situation.

All four combinations tested on NetBSD/amd64.
2015-08-10 21:44:34 +00:00
jperkin
9bf217a5cb Fix typo in local variable name. 2015-08-10 15:11:47 +00:00
dholland
78c137ddf2 Construct rc.d scripts in a subdirectory of WRKDIR (.rc.d/) instead of
right in it, to avoid name conflicts. PR 39271.
2015-08-10 05:41:10 +00:00
markd
e68252f20e Add lppl-1.0 license. 2015-08-02 02:12:33 +00:00
khorben
f8c9df2a2f More efficient check if SSP is enabled
With this change, the check if the current architecture is supported is
only performed if SSP is enabled in the first place. This should not
change the current behavior; tested on NetBSD/amd64.

Suggested by wiz@
2015-07-27 23:37:38 +00:00
khorben
ae79ea7d78 Add support for compiling with stack-smashing protection
This is enabled with PKGSRC_USE_SSP in mk.conf(5), as documented there.
Most NetBSD platforms are supported (when compiling with gcc).

After consensus on tech-pkg@.
2015-07-26 22:13:17 +00:00
sevan
2e45b2e256 Introduce $LOWER_VARIANT_VERSION, this is used to store version info for variant
Operating Systems.
For SmartOS, store the result from running uname -v & trimming the joyent_
prefix.
For OmniOS, store the result from processing /etc/release with awk(1)


Reviewed by joerg@ bsiegert@
2015-07-25 15:11:09 +00:00
dholland
25dd16d4fe Remove old custom www/links options. From PR 50072. 2015-07-20 23:06:36 +00:00
wiedi
6bd4b3b644 Detect arm-linux-gnueabihf correctly 2015-07-18 15:08:43 +00:00
wiz
23690511f0 zpl -> zpl-2.0, add zpl-2.1 2015-07-17 06:45:22 +00:00
ryoon
a12c1aca05 Add gcc5 support. 2015-07-16 12:09:04 +00:00
rodent
37cc4aac9e Add https://download.gnome.org/ to MASTER_SITES_GNOME. 2015-07-12 20:29:58 +00:00
ryoon
2ed142506d Sort. Move ODSN mirror. 2015-07-11 07:05:39 +00:00
rodent
9581e66cf1 Enabling handling of pypi packages. No opposing comments received in
private mail nor on tech-pkg@ since the posting. Will begin the slow
transition of packages to use this feature as they're updated.
2015-07-06 05:03:33 +00:00
joerg
11d2712a27 Remove USE_X11BASE and X11PREFIX. 2015-07-04 16:18:28 +00:00
joerg
5846252bb2 Add one more variable that controls PREFIX. 2015-07-04 15:46:18 +00:00
ryoon
eef963f5da Fix QNX bootstrap.
From Jan Danielsson.
2015-07-04 07:15:22 +00:00
tron
fc671b3ed5 Don't use "/bin/ksh" as wrapper shell under Mac OS X Mavericks. It was
previously excluded for a good reason.
2015-07-01 17:47:14 +00:00
ryoon
43f9e507bc Remove mozilla-enigmail option. 2015-07-01 13:03:11 +00:00
rodent
8fca1d2848 Add support for Python Package Index (pypi) master site handling.
This is commented for now in bsd.fetch.mk pending 48 hours of feedback on
tech-pkg@.
2015-07-01 00:55:34 +00:00
rodent
65254ed423 pkglint didn't like my proposed format for this file.
Reverting to convention.
2015-07-01 00:45:35 +00:00
rodent
dba05b1b20 Add MASTER_SITE_PYPI, which is going to be used in pypi.mk in a bit.
This entire file needs:
	1) collation;
	2) the EOL escapes removed and turned into proper lists;

Otherwise, it's a bit painful to read.
2015-06-30 23:11:18 +00:00
ryoon
7110bb1f60 Rename MASTER_SITE_SOURCEFORGE_JP to MASTER_SITE_OSDN.
sourceforge.jp is renamed to osdn.jp.
However its mirror sites are not ready for osdn.jp.
2015-06-29 11:06:46 +00:00
adam
d223dd19c2 Always use current system version SDK avoiding future SDKs, because this makes unuable binaries; use ksh as wrapper script on newer systems as well 2015-06-26 13:51:57 +00:00
jperkin
0b50d6bf86 Don't use the platform /usr/bin/pkg-config. As per PR#49982 it causes
problems that are fixed by using the pkgsrc version, and no platform
other than Cygwin tries to use a native version.

Consensus is that due to the limited impact and clear benefit this is
ok to go in during the freeze despite being an infrastructure change.
2015-06-19 15:22:44 +00:00
spz
0a14d71201 Fix
/pub/pkgsrc/current/pkgsrc/mk/scripts/mkreadme: ls: argument list too long
2015-06-13 12:09:32 +00:00
wiz
d743442101 Describe libnotify. 2015-06-08 14:58:43 +00:00
joerg
92836a718c Garbage collect remaining part of the @dirrm logic. 2015-06-07 03:39:08 +00:00
sevan
8514571a7a Introduce preliminary support for Bitrig to pkgsrc
Initial patchset to add support by rodent@
Further adjustments made based on feedback by joerg@
Tested by myself with numerous bulkbuilds thanks to Patrick Wildt @ Bitrig

Reviewed by bsiegert@ joerg@ wiz@
2015-06-04 15:48:45 +00:00
sevan
a1824a3e1f Sync with upstream
Reviewed by wiz@
2015-06-03 19:18:41 +00:00
fhajny
2c2c1a9059 Add option descriptions for nghttp2-asio, nghttp2-tools and http2. 2015-06-03 12:03:01 +00:00
ryoon
3ccd1e147c Add oracle-jre8/jdk8 to supported Java VMs. 2015-06-02 20:37:01 +00:00
joerg
9ac8fcc75b Let's unconditionally depend on useradd on NetBSD. It has been in base
since 1.4 at least.
2015-05-26 10:08:37 +00:00
mef
7348ab3bc2 Add json (for net/lldpd for the moment). 2015-05-23 06:38:35 +00:00
sevan
392fe1c36f The path to SU is correct
type is a shell builtin on the bundled OpenBSD pdksh
Remove comment as instructed by comment.
Checks performed on OpenBSD 5.7-current
2015-05-21 17:15:48 +00:00
tsutsui
9dbfb4af6e ftp.dti.ad.jp is not working for several years.
Per debian-mirrors:
https://lists.debian.org/debian-mirrors/2014/07/msg00013.html
2015-05-16 20:02:21 +00:00
sevan
98f4407ec4 For 64bit little endian PowerPC hosts running Linux
Set the ABI to 64 bit
Define the suffix appended to the locations in the library search path

Reviewed by bsiegert@
2015-05-08 20:28:30 +00:00
wiz
2000d3d19c Add lppl-1.2, an older version of lppl-1.3c, and add it to default-allowed
like the 1.3c version.
2015-05-08 10:37:32 +00:00
joerg
81428e7010 Drop _LIBTOOL and _SHLIBTOOL and make LIBTOOL and SHLIBTOOL point to the
wrapped version by full path. This fixes some cases where the wrappers
have been bypassed. lang/lua52 triggered the investigation as it failed
to link against libreadline, which should have been translated to
libedit. Tested by jperkin and myself with full bulk builds.
2015-05-04 19:23:19 +00:00
mef
b7f0fcc7ec I believe this is correct -> ftp://ftp.kde.org to http://download.kde.org 2015-05-04 12:20:43 +00:00
joerg
e653c23aa8 PR 49877: Expand correct variable. From Greg Onufer. 2015-05-03 23:16:41 +00:00
spz
4d1aa92952 fix compat60 (and strip down a lot to a backward compatibility package
to NetBSD 6.1)
introduce compat61 (and compat61-x11 with it) as a backward compatibility
	package to NetBSD 7
add compat61* to mk/emulator/netbsd-compat.mk and emulators/Makefile

some sort of version for the binary compat packages might have been
useful, maybe abusing the DIST_SUBDIR? compat61 is likely to change
if/when NetBSD 6.2 is released
2015-05-03 15:01:11 +00:00
wiz
8ab127a536 Add the GUST Font Source License (GFSL) from
http://ctan.org/license/gfsl

Since this is basically the LaTeX Project Public License with one clause
removed, add it to the default acceptable licenses.
(lppl is fine with both OSI and FSF and already allowed.)
2015-05-02 13:21:37 +00:00
jperkin
1a2757e82f Introduce _USE_CWRAPPERS logic to ensure consistency, USE_CWRAPPERS could
differ between a package and user setting, resulting in incorrect WRAPPER_*
values being set from wrapper-defs.mk.
2015-04-29 14:23:23 +00:00
jperkin
7ef3ff730f Use a single egrep and regexp instead of iterating over the list of files to
check and calling grep on each of them.  Idea for using ":ts|" from Joerg.

Reduces the test runtime by around 50%, depending on platform and package.
2015-04-29 13:39:43 +00:00