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
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
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
Baptiste Daroussin
d1edf7a1b2
Cache a bit more function for autoconf based on texlive config.logs
2014-03-26 11:16:42 +00:00
Bryan Drewery
d65af50a70
- login(3), logout(3), and logwtmp(3) were removed in base r202216
...
due to utmpx
This fixes build for at least security/openssh-portable
With hat: portmgr
2013-09-03 11:39:21 +00:00
Baptiste Daroussin
aa2fbf37d2
Do not cache the openpty function this breaks at least heimdal and rancid
...
Reported by: ohauer@ (by mail) and crest (irc)
2013-09-01 21:39:13 +00:00
Antoine Brodin
6e81d16ecd
Remove 2 lines for structs which were declared in utmp.h
...
Approved by: portmgr (bapt)
2013-08-30 22:10:39 +00:00
Baptiste Daroussin
a0825d4fee
Remove the utmp.h cache added by mistake
...
Submitted by: antoine
2013-08-30 11:03:49 +00:00
Bryan Drewery
c06669b079
- Cache more
...
PR: ports/178346
Submitted by: eadler
2013-08-30 01:08:08 +00:00
Bryan Drewery
e5fa41824b
Note that this must reflect the oldest supported release
2013-08-30 00:50:55 +00:00
Baptiste Daroussin
b25672e7a6
Cache more GNU configure tests, obtained from gettext and openssh configure script run on FreeBSD 8.3
...
Remove all cached *_works entries as it can hide problems.
2013-08-30 00:35:01 +00:00
Bryan Drewery
77aa4d4f35
Add some guidance on what not to add
2013-08-29 18:34:10 +00:00
Bryan Drewery
a8c6157ea1
Add a few more headers/functions
2013-08-29 18:32:13 +00:00
Bryan Drewery
954ad140d7
Sort paths
2013-08-29 18:16:46 +00:00
Bryan Drewery
1c5326aece
Sort each group
2013-08-29 18:13:53 +00:00
Baptiste Daroussin
c88a0f3b11
Cache more functions
2013-08-23 19:49:11 +00:00
Baptiste Daroussin
d07ca2941e
Cache strlcpy and strlcat tests
2013-08-23 19:33:43 +00:00
Bryan Drewery
5e1d799444
Eliminate redundancy in this file which also helps avoids typos.
...
Generated with: sed -e 's/\([^=]*\)=\${\1=\([^}]*\)}/: ${\1=\2}/'
2013-05-31 10:53:04 +00:00
Bryan Drewery
16cd564ef9
Fix typos
2013-05-30 18:41:28 +00:00
Baptiste Daroussin
85e6570ee3
Cache more autotools tests
2013-05-23 16:45:07 +00:00
Baptiste Daroussin
84a4799e20
All supported FreeBSD have net/if.h and net/if_media.h cache them in config.site given that they are often badly tested by autotools
2013-04-30 14:14:36 +00:00
Bryan Drewery
e57cf32eca
waitid(2) is only in 10
...
Reported by: nox, koobs
With hat: portmgr
2013-04-25 02:14:44 +00:00
Baptiste Daroussin
43ba324fd5
Add a global config.site cache.
...
This has 2 effects:
- it caches lots of things autotools are looking for and we know that are
already on FreeBSD (speeding up configure scripts)
- it forces the autotool enable build chain to use by default commands from the
base system like sed, awk, cp, bzip2, gzip etc
To overwrite things set in config.site just add the variable in CONFIGURE_ENV
within your port
Please help us to add new values in this config.site
2013-04-22 16:16:46 +00:00