Commit graph

9684 commits

Author SHA1 Message Date
rillig
d6a0479fc0 mk/platform/Linux: fix detection of GLIBC_VERSION on Debian
Running "/lib/x86_64-linux-gnu/libc.so.6 --version" on Debian unstable
inside WSL says:

GNU C Library (Debian GLIBC 2.29-9) stable release version 2.29.

In this case, there is a simple period, not a comma after the version
number.
2020-01-28 08:38:47 +00:00
jaapb
828c3820e9 Added gtksourceview3 option 2020-01-24 14:50:57 +00:00
nia
49d28e1bd7 mk/platform/Linux.mk: Use _OPSYS_LIB_DIRS to find glibc paths.
This seems more correct as it handles Debian/others already.
2020-01-24 12:36:28 +00:00
nia
3ecc5529cb mk/platform/Linux.mk: Fix glibc detection on Debian.
Problem identified and patch reviewed/tested by gutteridge, thanks
2020-01-24 12:32:21 +00:00
kamil
ca614b1505 Allow USE_X11=weak that allows X11 paths without having them reachable
Useful in certain packages (python) where X11 paths are needed in wrappers,
but optional in build and runtime.
2020-01-21 10:56:54 +00:00
kamil
a1b18a2bf5 Set native X11BASE on NetBSD to /usr/X11R7 unconditionally
This is the default option for more than a decade now.
2020-01-21 10:50:48 +00:00
nia
3e162c3b3e *: Remove esound support from pkgsrc
Enlightened Sound Daemon was one of the earlier solutions to the old
"multiple programs can't open /dev/audio at once" problem that was once
a thing we had to worry about.

Eventually, it was adopted as part of GNOME. GNOME lost interest in it
about a decade ago and dropped it in favour of PulseAudio, newer
applications are generally uninterested in supporting it. Last release
was in 2008 and support for newer OS APIs is pretty nonexistent.

Several years ago the original website disappeared.

https://en.wikipedia.org/wiki/Enlightened_Sound_Daemon
https://tracker.debian.org/news/999428/removed-0241-11-from-unstable/
2020-01-20 21:54:00 +00:00
pho
865567336f Build ${WRKSRC}/Setup in the do-configure phase
Doing it in pre-configure makes it unable to do SUBST in that phase.
2020-01-20 14:14:33 +00:00
pho
a1f59741bc Use _MAKE_JOBS_N defined in build/build.mk 2020-01-19 23:45:06 +00:00
maya
25acf4336b Rename EFFECTIVE_MAKE_JOBS -> _MAKE_JOBS_N, suggested by gdt.
I am under the impression we use _THING to mean "defined by the
implementation", which would be similar to the C meaning of __ prefix,
rather than "private to this file".
2020-01-19 18:20:45 +00:00
maya
55b59a0062 Add a visible EFFECTIVE_MAKE_JOBS, a tunable resembling _MAKE_JOBS,
but is defined as 1 in the case of no jobs.

No -j prefix for maximum usability.
(XXX: is _DEF_VARS the right place to add it?)
2020-01-19 16:51:47 +00:00
pho
9bbb8420be Configurable optimization level and compilation parallelism 2020-01-18 01:39:01 +00:00
jaapb
04005267d6 Updated mk/ocaml.mk to deal with changes from devel/ocaml-dune
.install files are now installed somewhere else, I've updated the
ocaml.mk file accordingly.
2020-01-17 09:19:03 +00:00
joerg
1389f0e895 Don't escape newline and tab in regex, newer gawk complains. 2020-01-16 22:53:11 +00:00
rillig
7f191db6be mk/pkgformat: include only relevant ident strings in +BUILD_VERSION
Before, not only files containing an RCS Id were recorded in the
+BUILD_VERSION file but also files containing text that looked similar to
an RCS Id were recorded, even though these didn't contain any valuable
version information.

The effect was that before this change, pkgtools/pkglint was built over
and over again by the bulk builds since pbulk uses a different regular
expression for detecting modified files.

The regular expression for unexpanded RCS Ids is added to record files
that have never been checked in to CVS, just to have them recorded and to
distinguish them from the final committed version.

See https://mail-index.netbsd.org/tech-pkg/2020/01/11/msg022489.html.
2020-01-15 20:11:11 +00:00
rillig
8b2c7d624a mk/pkgformat: include only relevant ident strings in +BUILD_VERSION
Before, not only files containing an RCS Id were recorded in the
+BUILD_VERSION file but also files containing text that looked similar to
an RCS Id were recorded, even though these didn't contain any valuable
version information.

The effect was that before this change, pkgtools/pkglint was built over
and over again by the bulk builds since pbulk uses a different regular
expression for detecting modified files.

The regular expression for unexpanded RCS Ids is added to record files
that have never been checked in to CVS, just to have them recorded and to
distinguish them from the final committed version.

See https://mail-index.netbsd.org/tech-pkg/2020/01/11/msg022489.html.
2020-01-15 20:03:10 +00:00
rillig
1498fcf3dd mk/pkgformat: fix documentation 2020-01-14 22:22:34 +00:00
rillig
1f7df547ed mk/pkgformat: fix documentation 2020-01-14 22:21:19 +00:00
joerg
07c8de54f9 Sort the list of files included during a scan run and remove duplicates.
This avoids some sources of entropy and can save a bit space too.
2020-01-13 22:08:33 +00:00
rillig
48d051044f mk/pkgformat: update documentation in list-dependencies 2020-01-13 07:31:53 +00:00
taca
ca4fe2672a mk/pkgformat/pkg/metadata.mk: Fix awk syntax
Fix awk syntax.
2020-01-13 06:52:57 +00:00
ryoon
bf792e6f39 mk: Add missing line continuation, fix post-install 2020-01-13 03:38:01 +00:00
gutteridge
73513866b8 options.description: add virtfs-proxy-helper 2020-01-13 02:52:28 +00:00
ryoon
8be8affe7f Add lang/adoptopenjdk11-bin support 2020-01-13 01:53:50 +00:00
joerg
43c574a4a9 Add USE_PKG_ADMIN_DIGEST flag for switching between $NetBSD$ and SHA256
digests to identify file versions. Defaults to no for now. For digest
mode, recursive into FILESDIR, so that e.g. the majority of pkg_install
itself is recorded as well SMF manifests.
2020-01-12 23:38:42 +00:00
rillig
ea514da7f0 mk/bsd.pkg.update.mk: fix indentation 2020-01-11 19:30:50 +00:00
pho
024aad2263 Switch from ghc7 to ghc88 2020-01-11 07:47:18 +00:00
pho
ee9f90656c Use hashed package keys for (un)installing Cabal packages
Starting from somewhere around GHC 7.8, Cabal installs packages with a
hashed package key instead of just "{NAME}-{VERSION}". In other words,
the pair of the plain package name and the version is no longer unique
in the package DB, and using it for uninstallation may also remove
packages that we didn't mean to remove.

This is paricularly problematic because GHC comes with several bundled
Cabal packages. Installing and uninstalling a package with the same
name could break GHC itself, if the uninstallation is performed
without hashed keys.
2020-01-09 12:29:32 +00:00
rillig
b1aad323dc mk/plist: make documentation for GENERATE_PLIST more precise 2020-01-05 21:38:54 +00:00
wiz
cb9e56c003 Document jp2 option. Sort. 2020-01-04 19:01:51 +00:00
pho
0215d2d16a Be explicit about shared libraries
Recent versions of Cabal appears to build shared libraries by default unless --disable-shared is explicitly given.
2020-01-02 16:45:15 +00:00
pho
f20c406612 Pass -v to ./Setup when PKG_VERBOSE is defined 2020-01-02 16:34:47 +00:00
rhialto
727e0af859 Rename options for vice to have a "vice-" prefix (x64, cpuhistory). 2020-01-01 16:30:37 +00:00
pho
d3ea0027a2 Suppress an error occurs when buildlink is not present 2020-01-01 04:54:10 +00:00
pho
e8f85a7b71 Remove unused variables 2020-01-01 04:35:29 +00:00
rhialto
b88412f48d options.description: add x64 and cpuhistory, for emulators/vice. 2019-12-31 14:30:09 +00:00
pho
1589ba417e For "Setup" try dynamic linkage first 2019-12-31 07:16:25 +00:00
pho
a62b984936 Support GHC 7.10.x and later 2019-12-29 16:59:55 +00:00
wiz
8bc185a329 apache.mk: update comment, apache22 is gone, so is the "ap22" prefix 2019-12-28 11:43:58 +00:00
taca
01a7fa1cea mk/defaults/options.description: add some descrptions
Add descrption of ap-php, argon2, disable-filter-url, php-cgi and php-fpm.
2019-12-16 15:26:57 +00:00
gutteridge
a52529ae45 options.description: note pango and vera-ttf options 2019-12-07 05:00:26 +00:00
gutteridge
9ebff42314 licenses & mk/license.mk: add license for Enlightenment 16
Enlightenment 16 uses a modified (non-standard) MIT license that
includes an advertising clause. (This makes it incompatible with the
GPL.) I've named it enlightenment16 to differentiate that Enlightenment
>=17 releases use the 2-Clause BSD. (Enlightenment 16 continues to be
developed independently, and is of current interest to pkgsrc users.)

In some places, this is referred to as the "MIT With Advertising"
license, but I'm not aware of other projects using this variant. If it
becomes more broadly relevant to pkgsrc, we could rename it such.

(This should have been added a long time ago, the wm/enlightenment
package simply has never had a LICENSE variable set. Better late than
never.)
2019-12-07 04:47:32 +00:00
ng0
4b115e597b net/tor: Add rust option to build the rust features in tor. 2019-11-24 18:42:15 +00:00
rillig
276bc87b64 mk/fetch: add SITES.* to the variables for the show-all-fetch target 2019-11-22 19:30:23 +00:00
minskim
7f94d0a54c mk: Set LC_ALL=C to avoid encoding issue with tr and sed 2019-11-22 18:04:49 +00:00
tnn
672bc47484 remove bsdtar as tool because it was reverted in src for some reason ... 2019-11-21 21:11:22 +00:00
martin
c844c0d4d4 PR pkg/54686: try to handle NetBSD/arm without architecture version the same
as {e,}armv4 or {e,}armv6 / {e,}armv7. We do not add an explicit version to
our current default (v5).
2019-11-13 19:06:42 +00:00
maya
ae84d1864a Add SCO Unix to the ELF pile.
Blind commit intended to help PR pkg/54681
2019-11-09 21:24:24 +00:00
rillig
af0890f6c6 mk/fetch: sort variables for bmake show-all-github 2019-11-04 19:05:18 +00:00
rillig
c18ce611ff mk: make BROKEN a list of lines, like PKG_FAIL_REASON
Packages defined the variable BROKEN inconsistently. Some added quotes,
like they are required in PKG_FAIL_REASON, some omitted them.

Now all packages behave the same, and pkglint will flag future mistakes.
2019-11-04 17:47:29 +00:00