Commit graph

665 commits

Author SHA1 Message Date
sevan
15f2653da5 provide paths for byacc, gegrep, gfgrep, ggrep, install-info, makeinfo, openssl,
xz, xzcat on Minix. From Minix 3.4RC6
2018-11-05 12:57:47 +00:00
sevan
aa7df6147c Update some more paths from Minix 3.4RC6 2018-10-29 10:44:29 +00:00
sevan
77fb75889d Update path to chown(8) as found on Minix 3.4RC6 2018-10-29 10:31:05 +00:00
sevan
277e45c036 Update location for true(1), taken from 3.4RC6 build. 2018-10-28 17:17:40 +00:00
jperkin
2aa8c6b07e mk: Add native GNU/BSD grep where they are known to exist. 2018-10-17 08:30:43 +00:00
jperkin
c61f061ba7 mk: Add support for a ggrep tool.
This is for when GNU features are required that aren't available in some
other greps, for example -o or --color.  If ggrep is requested then it
takes precedence over grep/egrep/fgrep and the GNU versions are used for
all three.

BSD grep aims for GNU compatibility so it is anticipated that it can be
used as a native tool to avoid a dependency on textproc/grep on platforms
that provide it.
2018-10-17 08:22:19 +00:00
maya
6c25dec844 Remove clauses 3,4 from TNF-only copyright blocks.
This is based on the decision The NetBSD Foundation made in 2008 to
do so, which was already applied to src.

This change has been applied to code which is likely not in other
repositories.

ok board@, reviewed by riastradh@
2018-08-22 20:48:36 +00:00
adam
107ec1e19d pkglint fix 2018-08-19 09:37:12 +00:00
rillig
ce6481904d mk/tools/create.mk: revert filtering duplicate tool names
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-27 20:53:14 +00:00
rillig
6357c6f5e5 mk/tools/create.mk: sort tools before creating the wrapper targets
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-27 20:16:36 +00:00
rillig
afd12090f3 mk/tools/autoconf.mk: improve documentation for autoreconf 2018-03-09 21:51:20 +00:00
leot
b637c0c04c mk/tools/replace.mk: Add support for `:test' to add tools to TEST_DEPENDS
With this change is now possible to mark tools only needed for testing via:

 USE_TOOLS+= <tool>:test

Discussed with <joerg>
2018-01-24 13:30:04 +00:00
rillig
06317929ae Improved documentation for "make help".
The check for target(help) prevents a warning when "make help" is run from
a category directory.
2018-01-07 11:23:37 +00:00
wiz
d678f8f800 Switch from mdocml to mandoc; remove obsolete references. 2017-08-01 15:09:52 +00:00
maya
17b7efc0d1 freebsd 12 doesn't have /usr/bin/tbl, so check for its existence before
deciding to use it.
2017-07-22 18:10:25 +00:00
joerg
80852c70a2 Deal with wc in /bin. From Thomas Orgis. 2017-07-10 12:32:30 +00:00
maya
7e02908133 Use the fgrep binary explicitly on OSF1
Fixes PR pkg/52312: "Checking for fgrep" causes Fork bomb
From Naruaki Etomi
2017-06-19 06:25:45 +00:00
sevan
2302c91479 Whilst the version of find in Darwin 8 & prior is insufficient for installing Python modules,
there are further issues with circular dependencies which need to be resolved
before the change to using find from coreutils can be made.
Revert previous change for now.
2017-06-12 16:11:51 +00:00
sevan
13b404e17b The version of find(1) included in Darwin did not support {} + being passed to
the exec option up until version 9 (Leopard). sysutils/findutils should be used on
prior releases.
This resolves packaging Python modules which utilise lang/python/egg.mk. find(1)
is called here with '{}' +; passed to exec option.
2017-05-06 16:33:54 +00:00
taca
efbc2f124b Remove reference to misc/rubygems and RUBY_VER is "18". 2017-04-23 14:18:09 +00:00
maya
e76c53d7c0 Check for paxctl's existence rather than version+arch check.
It likely only matched amd64 before (looks like i386 had a typo),
but it's necessary on most netbsd archs since netbsd-7.99.x.
2017-04-21 16:03:10 +00:00
ryoon
20ddaf0877 Workaround for make(1) from recent NetBSD-current to detect paxctl 2017-04-21 14:45:07 +00:00
brook
3f7b4beddb Always take the flex version from the second word of the version string.
When necessary, the flex version is obtained from the version string reported
by running flex.  Generally, the first word of the version string is flex and
and the second is a version number.  At least for MacOS, there is a third
vendor-specific word.  The sed command previously used to capture the flex
version captured the last word, not the second one, because the first capture
group was too greedy and could capture more than a single word.  Instead,
force the capture groups to capture only words, i.e., no blanks, and use the
second word for the version.
2017-01-21 17:10:26 +00:00
joerg
fea8495735 Handle optional ctfmerge/ctfconvert presence on NetBSD by explicitly
passing down NOCTF when they don't exist.
2016-11-10 20:58:46 +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
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
dbj
ed7710a502 the native soelim is gsoelim so default it as TOOLS_PLATFORM.gsoelim 2016-04-11 04:49:41 +00:00
wiz
cf765f4607 Switch from pkg-config to pkgconf. 2016-04-08 13:12:33 +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
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
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
richard
4ae0f0183f define TOOLS_PLATFORM.ld in tools.SunOS.mk 2015-09-25 01:57:56 +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
ryoon
eef963f5da Fix QNX bootstrap.
From Jan Danielsson.
2015-07-04 07:15:22 +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
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
rodent
4e96f8ebfa Some updates:
* Test for /usr/sbin/chgrp (it's a link, but hey);
* Test for /usr/sbin/openssl as an alternative location. There is no entry
  in /usr/bin (at least in OpenBSD 5.6);
* /usr/bin/tbl doesn't exist in OpenBSD 5.6, so test for it before setting;
2015-04-05 00:22:44 +00:00
rillig
63823525fb Added "bmake help" documentation for using libtool and pkg-config. 2015-03-11 19:24:44 +00:00
jperkin
f880d33e4f Put back additions of some native gettext tools. 2015-02-16 11:01:40 +00:00
jperkin
40af7cd08f Put back preference towards the gettext-m4 package when resolving dependency. 2015-02-16 10:59:39 +00:00
jperkin
0262e3fcf8 Put back the fix which checks the variables associated to each gettext tool
instead of checking those of msgfmt.
2015-02-16 10:40:40 +00:00
rillig
58d70247cc Added keywords for "bmake help". 2015-02-11 23:39:35 +00:00
obache
a1271cfbb0 Revert
Requirement of gettext tools from pkgsrc depend on existence of the tool itself,
 not msgfmt tool.
proposed/discussed is required for such changes.
2015-02-01 11:46:10 +00:00
obache
7957202b5a Revert "pick up gettext-m4 package first.",
proposed/discussed is required for such changes.
2015-02-01 09:18:59 +00:00
obache
6659e2b32a Revert "Add some missing builtin gettext-tools path.",
proposed/discussed is required for such changes.
2015-02-01 09:15:49 +00:00
obache
c403435b4e revert "Add unlink as a tool.", I cannot describe why is it on the Earth.
proposed/discussed is required for such changes, from PMC gdt@.
2015-02-01 08:48:56 +00:00
obache
0d7d34e0e8 Add unlink as a tool. 2015-01-30 11:06:36 +00:00
obache
ab675937d7 Add some missing builtin gettext-tools path. 2015-01-12 04:54:19 +00:00
wiz
d589028e1c Add links for automake-1.15. 2015-01-08 16:41:44 +00:00