Commit Graph

97 Commits

Author SHA1 Message Date
Baptiste Daroussin a40a5009df Templates/BSD.local.dist: add share/icons
share/icons is a common place to install applications icons for a long
time.
An upcoming change in the way we handle icon cache generation leads to
make check-plist thinking some packages are now leaking (left overs) this
directory, adding it to the mtree fixes this issue.
2021-09-27 11:33:18 +02:00
Lewis Cook cb3b45287e Templates/BSD.local.dist: Add shell completion paths
This removes the necessity in creating the shell completion
directories for bash, fish and zsh when installing any
accompanying programmable shell completion files.

Approved by:		portmgr
Differential Revision:	https://reviews.freebsd.org/D31629
2021-08-21 14:04:32 +00:00
Mathieu Arnold 135fdeebb9
all: Remove all other $FreeBSD keywords. 2021-04-06 16:31:13 +02:00
Mathieu Arnold 5d33e04596
framework: Remove $FreeBSD$
Where appropriate fiddle with a few other things.
2021-04-06 16:27:10 +02:00
Tijl Coosemans 5c96135c7f Set configure variables to "yes" instead of "1".
The configure script in the next version of gettext specifically tests for
gl_cv_func_sigprocmask=yes.

PR:		248346
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2020-08-04 09:03:23 +00:00
Antoine Brodin d47d77872b malloc.h is now usable on head
PR:		245366
2020-05-12 18:15:06 +00:00
Baptiste Daroussin 003a571d1d Add LOCALBASE/share/man to the valid path for manpages
Also compress manpages in this location.

As a followup of a discussion which occured in 2017:
https://lists.freebsd.org/pipermail/freebsd-arch/2017-March/018115.html
And following:
https://svnweb.freebsd.org/base?view=revision&revision=315053
and
https://svnweb.freebsd.org/base?view=revision&revision=315142

All the supported FreeBSD version now supports share/man in manpath for
LOCALBASE As a result the ports tree can now accept it for manpage, but
more over migrate to this new path. Resulting in more consistency now the
manpages in base and ports would be in the relative path (under share/)
and a reduced amount of patching needed to port something to FreeBSD

Note1: this has already be done for GNU info pages earlier
Note2: due to the fact that for end user no functionnality will change during
the migration of the manpages to the new location and to avoid massive rebuild
of packages, it has been decided to not bump portrevision when migrating.

Reviewed by:	mat (portmgr)
Differential Revision:	https://reviews.freebsd.org/D23166
2020-01-15 12:06:13 +00:00
Antoine Brodin 937760ab5a gets was removed from head
PR:		222796
2019-09-01 18:57:18 +00:00
Antoine Brodin d78b23817a sys/dir.h is deprecated and is scheduled to be removed from base
PR:		21519
2019-06-05 17:40:09 +00:00
Baptiste Daroussin 7990f81066 Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
2018-11-10 18:12:57 +00:00
Antoine Brodin a9bd2fb5f6 config.guess: merge upstream changes up to 2018-08-29
PR:		230987
With hat:	portmgr
2018-08-29 18:53:00 +00:00
Antoine Brodin 33f24a0416 Merge config.guess upstream changes up to 2018-07-18
This includes gnueabihf addition to armv6 and armv7 targets

PR:		228706
Submitted by:	Mikael Urankar
With hat:	portmgr
2018-08-13 20:26:05 +00:00
Antoine Brodin 16154f2941 Remove duplicate CPU types coming from a mismerge
With hat:	portmgr
2018-08-13 19:50:21 +00:00
Ruslan Bukin fbef8dc6ee Update our copies of config.guess and config.sub scripts
(RISC-V machine added).

PR:		229176
Reviewed by:	bapt
Approved by:	portmgr (antoine)
Sponsored by:	DARPA, AFRL
Exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D15925
2018-06-25 15:44:31 +00:00
Antoine Brodin 532b3292ff Revert r472783, no exp-run and no approval = no cookie
With hat:	portmgr
2018-06-19 17:22:14 +00:00
Ruslan Bukin 8b3598ab7d Update config.guess and config.sub to the latest version.
RISC-V machine added to config.sub allowing us to build
ports/packages for RISC-V.

Sponsored by:	DARPA, AFRL
2018-06-19 12:36:52 +00:00
Bryan Drewery 8046dbb3ce Revert libm functions.
These require -lm but by caching a 'yes' value some ports fail to add -lm
properly, such as x11-toolkits/vte3.
2018-03-16 17:41:22 +00:00
Antoine Brodin 56fbe2ed72 Do not autodetect floor(3), it breaks some ports
With hat:	portmgr
2018-03-16 06:39:11 +00:00
Bryan Drewery 14beb619c7 Add more random items 2018-03-15 20:53:41 +00:00
Bryan Drewery 597ce86ee3 Add some more random functions in all releases. 2018-03-15 16:47:57 +00:00
Danilo G. Baio 393c55bdbf Remove MPL (without version) license
All ports now are using MPL[10|11|20] license.

Approved by:	portmgr (rene)
Differential Revision:	D12940
2017-11-04 13:14:01 +00:00
Danilo G. Baio 986b1e1642 Templates/Licenses: Add MPL[10|11]
- Add MPL[10|11]
- Copy MPL -> MPL20

Reported by:	sunpoet
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D11772
2017-07-28 15:23:34 +00:00
Tobias Kortkamp dc0e63addc Add The Unlicense to Mk/bsd.licenses.db.mk
- Update all ports that currently use a custom definition
- Also add a link to a list of certified copyfree licenses

Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D11487
2017-07-05 14:58:11 +00:00
Rene Ladan decbfff56f Add more functions to the autoconf cache that appeared in FreeBSD 9 or 10.
PR:		219871
Submitted by:	rene
Reviewed by:	bdrewery
Exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D11101
2017-06-10 21:23:04 +00:00
Mathieu Arnold f03d021325 Add the DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE versions 1 and 2.
PR:		218843, 214492
Submitted by:	Dave Cottlehuber, Yuri Victorovich
Sponsored by:	Absolight
2017-05-10 12:47:37 +00:00
Justin Hibbits 411d3e540e Add powerpcspe to config.sub template
With this single change many ports now build for the relatively new (in
12-current) powerpc.powerpcspe arch target.  Additional changes will be needed
on a port-by-port basis.

Approved by:	swills
2017-05-03 01:02:53 +00:00
John Marino 76d8477ed9 Cache ac_cv_sys_long_file_names conftest result (always yes)
There are a few ports that check for long file name support during
configuration, but the conftest actually modifies $LOCALBASE/lib when
the port is built by the root user.  By caching the result (yes), the
test is avoiding and so is the consequential file system violation.
(The synth test option can detect this FS violation.)

Differential Revision:	https://reviews.freebsd.org/D6160
Approved by:		portmgr (bapt@, bdrewery@)
2016-05-06 20:57:55 +00:00
Bryan Drewery 69d0711932 Re-apply r400350 which is correct, to remove libutil-provided symbols. 2015-10-28 14:23:51 +00:00
Antoine Brodin 6a22bfab53 Revert recent config.site changes, ports-mgmt/pkg fails to build on FreeBSD
9.3 and some ports (science/netcdf, print/hplip) now fail to configure

With hat:	portmgr
2015-10-28 06:35:13 +00:00
Bryan Drewery 70b8294d37 Indent and remove more libutil functions. 2015-10-27 22:15:21 +00:00
Bryan Drewery 9f96a60a08 Fix reversed logic for utmp vs utx 2015-10-27 21:53:58 +00:00
Bryan Drewery 90e2067994 Woops, openpty is libutil as fixed before but missed in previous commit. 2015-10-27 21:52:02 +00:00
Bryan Drewery 7bdc59db49 Correct a comment 2015-10-27 21:47:14 +00:00
Bryan Drewery aa86b52989 Add more cached values.
- This now supports checking OPSYS and OSVERSION.
- Add some comments about how to generate some of this automatically.

With hat:	portmgr
2015-10-27 21:44:10 +00:00
Bryan Drewery d5d85cccc3 Remove functions provided by libutil.
With hat:	portmgr
2015-10-27 21:42:05 +00:00
Bryan Drewery 97d0f7c646 Add /usr/local/lib/debug for WIP debug symbol splitting started in r399701.
With hat:	portmgr
2015-10-20 16:05:46 +00:00
Ed Schouten c1cabf287f Update config.guess and config.sub to the latest version.
In order to make ports like cloudabi-binutils work (PR 200968), we need
to bump up these scripts to the latest upstream version. An exp-run
seems to indicate that this causes no regressions.

PR:		https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200967
Differential Revision:	D2867
Approved by:	antoine
2015-06-21 11:55:42 +00:00
Baptiste Daroussin d0a1622ca0 Remove lib/X11/fonts/* from the default mtree 2015-03-21 23:11:28 +00:00
Baptiste Daroussin b367407228 Remove trailing empty line 2014-12-22 10:13:10 +00:00
Baptiste Daroussin 97ffd4220f Add a template for the port Makefiles 2014-12-04 17:25:03 +00:00
Baptiste Daroussin 51cc23373b Remove an addition to BSD.local.dist which wasn't intended
Reported by:	bdrewery
2014-08-26 22:53:39 +00:00
Baptiste Daroussin 54c09a68a8 Add etc/libmap.d to the local mtree 2014-08-26 22:42:15 +00:00
Baptiste Daroussin 6ee78400fb Add etc/rc.conf.d to the local mtree 2014-08-26 22:41:03 +00:00
Bryan Drewery 94b4bfe4d7 - Add LOCALBASE/etc/newsyslog.conf.d from base r266463
With hat:	portmgr
2014-06-05 15:20:36 +00:00
Baptiste Daroussin d1edf7a1b2 Cache a bit more function for autoconf based on texlive config.logs 2014-03-26 11:16:42 +00:00
Pietro Cerutti 9cf026a627 - Remove PGSQL: Year and Organization must be filled-in by licensor.
Reported by:	eadler, mat
2014-02-19 09:48:39 +00:00
Pietro Cerutti 51d0ca689d - Add PostgreSQL license to the database
http://opensource.org/licenses/postgresql

Approved by:	portmgr (bapt)
2014-02-17 13:04:04 +00:00
John Marino 06d16aafc1 Add GMGPL to license database
The GNAT Modified General Public Licence is an older license that is
commonly used with Ada programs, specifically to address legal quirks
with the Ada generics feature.

It is meant to be used as "multi" licence in combination with GPL or
GPLv2.  It is not typically seen combined with GPLv3 to my knowledge.

Approved by:	portmgr (bapt)
2014-02-15 15:44:29 +00:00
John Marino 8c473b8d93 Define GPLv3RLE license (GPLv3 Runtime Library Exception)
The GCC ports either do not have any license defined, or they are defined
as GPLv3 which is not completely correct.  The runtime libraries in the
FSF-issued GCC releases have a standard exception to the GPLv3 license.
In order to properly reflect this, the GCC ports can define a "multi"
license, GPLv3 and GPLv3RLE, which are both in effect.

Concerns PR:	ports/185970
Approved by:	portmgr (bapt)
2014-02-12 23:26:36 +00:00
Julio Merino 5f238711a8 Register a 'tests' directory under /usr/local.
This mimics the layout of the base system (see hier(7)) and will be used by
ports to install tests into.  This directory will later be hooked into the
/usr/tests test suite so that all tests can be run transparently in one go.

Approved by:	portmgr (bdrewery)
2014-02-09 04:02:15 +00:00