Commit graph

9622 commits

Author SHA1 Message Date
rillig
1604275256 mk/compiler/gcc.mk: reorder variables in _VARGROUPS section
By listing the public variables first, the focus is put on the most
important variables.
2019-09-19 06:46:59 +00:00
ng0
4c62e57cfa options.descriptions: Add dane keyword description. 2019-09-18 15:27:59 +00:00
rillig
95fe8ca6c6 mk/compiler/gcc.mk: add missing variables to _VARGROUPS section 2019-09-18 06:46:13 +00:00
rillig
fe8d2392e3 mk/compiler/gcc.mk: search for GCCBASE/bin/gcc as well
A default installation of GCC doesn't install bin/cc but only bin/gcc.
Adding bin/cc is only done by the pgksrc packages, not by the upstream
package.

The previous strategy of just checking whether ${GCCBASE}/bin/${CC:[1]}
exists did not work in such a situation. Therefore, if CC still has its
default value from sys.mk, that is changed to the intended gcc, which
then detects the base GCC properly.

See https://mail-index.netbsd.org/pkgsrc-users/2019/09/07/msg029329.html.
See https://mail-index.netbsd.org/tech-pkg/2019/09/18/msg021976.html.
2019-09-18 06:35:12 +00:00
rillig
d7f638ee99 mk/compiler: replace complicated :M_asdf_ modifier with :[1]
The :[1] modifier has been added to bmake in 2006.
2019-09-18 06:15:13 +00:00
nia
264a5bbdf8 mk: describe sdl options better 2019-09-10 13:33:05 +00:00
nia
cf0676c9b5 libappindicator: Make this the gtk3 version.
Nothing is using the gtk2 version.

Bump PKGREVISIONs.
2019-09-09 12:59:06 +00:00
maya
25bf7f7d9d Be more verbose about how to list the available topics. 2019-09-09 09:38:36 +00:00
maya
3659de2832 gcc{48,49,5,6,7,8}: In the case of a "system GCC", detect if the system
libgcc is newer than the one about to be installed. If so, don't install
the libgcc.

Having an older libgcc appear in the lookup may result in binaries not
running, as they need symbols from the newer libgcc.
Such a case is PR pkg/54506.

Leaves SunOS unchanged, by request from jperkin.
2019-09-08 14:47:52 +00:00
maya
e10763bf89 Add a new option 'always-libgcc', whether to install libgcc.
If the pkgsrc compiler is GCC, don't install libgcc.

Having an older libgcc is problematic: it may be missing symbols from
newer libgcc. This is what happened in PR pkg/54506.

Use this on gcc-aux and gcc5-aux: the libgcc_s.so they install is going
to be older in all the operating systems these packages support.
(Other GCC packages will require a more elaborate rule)

Leaving SmartOS unchanged, by request from jperkin.
2019-09-08 14:05:38 +00:00
rillig
e8b4d71240 mk/compiler/gcc.mk: refactoring for PKGPATH comparison
Since PKGPATH can only ever consist of a single path, there is no point
in applying the :M modifier to it.
2019-09-08 09:24:52 +00:00
rillig
ef2e2c5b89 mk/bsd.pkg.error.mk: fix alignment of the backslashes 2019-09-08 09:15:01 +00:00
rillig
ec4d6a7c7f mk/subst.mk: document variables used in the file, remove SUBST_TARGETS
All variables that are used or defined in the file are now listed in the
_VARGROUPS section.

The "is text file" command variable has been renamed since pkglint
thought the former variable name would specify a filename, not a shell
command.

The "is text file" command has been rewritten to only rely on tr(1)
instead of both tr(1) and wc(1). This makes it both simpler and maybe
also a little faster, since the file only has to be read once.

The SUBST_TARGETS variable has been removed since it is used nowhere
else. To get the list of all subst targets (should that ever be
necessary), use the expression ${SUBST_CLASSES:S,^,subst-,}.
2019-09-08 09:06:06 +00:00
rillig
f8efb25323 mk/misc/show.mk: document how to explicitly mark variables as ignored
An upcoming check in pkglint will require that if a file has a _VARGROUPS
section, it must contain the full truth, mentioning every variable that
is used or defined in the file.

Some variables may be so internal though that they are not interesting in
any scenario for understanding what goes on in the file. These variables
can be explicitly ignored. They will not be listed by "bmake show-all" and
pkglint will not complain about them.
2019-09-08 09:01:04 +00:00
rillig
a504a7a55a mk/compiler/gcc.mk: improve _VARGROUPS section 2019-09-07 22:20:32 +00:00
rillig
22bac2bbe2 mk/compiler/gcc.mk: update _VARGROUPS 2019-09-07 07:10:15 +00:00
gutteridge
f59ae753d0 options.description: add the libappindicator3 option 2019-09-07 04:17:42 +00:00
jperkin
21159ce40d mk: Skip CTF_FILES_SKIP before anything else. 2019-09-06 09:00:35 +00:00
ryoon
914dc9f9ab NetBSD 9 or later has bsdtar as /bin/tar 2019-09-06 03:52:55 +00:00
rillig
bd2ae3cf10 mk/build: in build-env, output BUILD_DIRS relative to WRKSRC 2019-09-02 02:59:47 +00:00
rillig
d54bc5b842 mk/build: for build-env, show the BUILD_DIRS 2019-09-02 02:54:57 +00:00
rillig
0ff5dc4a46 mk: use a single form for headings in the documentation comments 2019-09-02 02:23:02 +00:00
rillig
a8b249fd3c mk/mysql.buildlink3.mk: add missing BUILD_DEFS 2019-09-02 02:14:58 +00:00
rillig
d4c41cddbd mk/help: remove unnecessary backslash before # in AWK program
GNU Awk on Cygwin warns about these.
2019-08-25 20:30:11 +00:00
nia
b0edece552 options.description: Add some options from MesaLib 2019-08-22 17:25:19 +00:00
nia
2367d4f38b options.description: add full stops 2019-08-22 11:54:43 +00:00
nia
9d87ba1247 options.description: +glesv1, +glesv2 2019-08-22 11:53:40 +00:00
nia
f6254aa8d8 options.description: add vulkan 2019-08-21 12:34:42 +00:00
rillig
d13d7ca81c mk/bsd.pkg.mk: prevent the WRKDIR path from containing symlinks
This is the same underlying issue as in bootstrap/bootstrap from
2019-05-01.

See https://mail-index.netbsd.org/pkgsrc-users/2019/08/18/msg029207.html
2019-08-18 21:58:51 +00:00
rillig
a4d021bb7b mk/buildlink3: add some more variables to show-all-bl3 2019-08-18 21:00:10 +00:00
nia
571ac1faf9 mk: Add wayland to options.description 2019-08-18 16:09:24 +00:00
brook
8e3cceea64 Add the biopython license to DEFAULT_ACCEPTABLE_LICENSES.
The biopython license is _very_ similar, but not identical, to many
other open source licenses used throughout pkgsrc.  The gratuitous
differences are being addressed by the project through an effort to
relicense all files to the 3-clause BSD license.  In the meantime,
Debian has accepted that the current biopython license meets the DFSG
and includes the package in their main distribution.  Consequently,
rename the license file and add it to DEFAULT_ACCEPTABLE_LICENSES.

See http://mail-index.netbsd.org/pkgsrc-changes/2019/08/13/msg195804.html.
2019-08-14 18:12:00 +00:00
maya
cb6ce400a2 Add Microsoft Public License as acceptable license by default.
FSF considers this a free software license, see:
https://www.gnu.org/licenses/license-list.en.html#ms-pl
2019-08-13 04:27:18 +00:00
gutteridge
c1d1d5e7fd options.description: add erlang-hipe 2019-08-11 21:35:39 +00:00
nia
d790e74201 teach extract about .txz, a weird alias for .tar.xz. 2019-08-02 11:48:17 +00:00
tnn
71fbc29207 mk/ocaml.mk: don't assume MAKE_JOBS is defined 2019-07-26 09:59:27 +00:00
gdt
743636bc54 mk/compiler.mk: Add c++17
We have a new language making its way into pkgsrc: C++17!  Add gnu++17
and c++17 to the list of _CXX_STD_VERSIONS.
2019-07-23 13:57:04 +00:00
ryoon
a73d906dd6 Do not pass -std=c++03 to GCC 4.4
No objection on tech-pkg@.
2019-07-15 16:06:19 +00:00
jaapb
2752687fd0 Changes to mk/ocaml.mk, commentary and bugfix
Install bytecode files unstripped.
2019-07-15 09:36:26 +00:00
sevan
6b0923a661 Don't need it on Lion 2019-07-11 15:16:12 +00:00
sevan
3448b40764 Avoid pulling in libnbcompat on every platform, mark the specific builds of
Darwin which libnbcompat should be pulled in on to provide strnlen instead.
2019-07-10 17:15:27 +00:00
riastradh
14df6bc748 aarch64 has no compiler flag for ABI=64. 2019-07-09 15:46:02 +00:00
riastradh
2f9efeb223 Avoid passing _CC as cross-compiler to recursive makes.
This way we don't inadvertently tell a native dependency that it is
supposed to be compiled with the cross-compiler.

No functional change intended for USE_CROSS_COMPILE=no.
2019-07-09 15:45:46 +00:00
riastradh
f36aab5cd5 Sync cross-libtool-base with libtool-base. Eliminate CROSSBASE.
cross-libtool-base now installs into $PREFIX/cross-$TARGET_ARCH
unconditionally.
2019-07-09 15:45:25 +00:00
sevan
9f35364b7e Support USE_FEATURES=strnlen to provide an implementation of strnlen(3) via libnbcompat, should the host OS lack support 2019-07-08 22:09:22 +00:00
jaapb
122fe90bf0 Added CeCiLL-B license.
This is a free software license according to the FSF:
https://www.gnu.org/licenses/license-list.en.html#CeCILL-B
2019-07-02 09:28:12 +00:00
jaapb
7102f282c5 Added descriptions for async, http and unix options 2019-07-01 15:47:22 +00:00
rillig
1d8887c980 mk: use direct include paths
This saves a few system calls since the included files are searched first
in .PARSEDIR and only then in .CURDIR.
2019-06-30 21:28:28 +00:00
ryoon
61d8f528cd Fix a typo in flag in comment 2019-06-26 00:22:56 +00:00
sjmulder
c279607aa4 mk/curses.builtin.mk: add mouse function check
Lets one do USE_CURSES=getmouse
2019-06-17 18:19:55 +00:00