Commit Graph

24 Commits

Author SHA1 Message Date
naddy
3f5796b9fd drop RCS Ids 2022-03-11 19:45:43 +00:00
sthen
48b0b9660c replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:48:23 +00:00
robert
d267cd02ca Unbreak autoconf checks with clang by not using nested functions
in the checks.

Someone clearly did not read the autoconf documentation because
using the following functions with a function declaration inside
the body will end up declaring a function inside a function.

- AC_TRY_COMPILE( [], [ int main() { return 0; } ],
- AC_LANG_PROGRAM([[]], [[int main (void) { return 0; }]])],
- AC_TRY_LINK([], [int main (void) { return 0; }],

Result:

int
main ()
{
int main (void) { return 0; }
  ;
  return 0;
}

nested functions is a gcc extension which is not supported by
clang.

test.c:4:17: error: function definition is not allowed here
int main (void) { return 0; }
                ^
1 error generated.

This causes tests to fail in the configure scripts resulting in
missing compile and link time flags from the builds.

This resulted in weird behaviour of several software, like gnome
hanging completely due to gtk+3 not being built properly.

This change intrudces the following fixes:

- remove int main() declaration from AC_TRY_COMPILE, AC_LANG_PROGRAM, AC_TRY_LINK
  as it comes with a declaration already, and people misused them

- change to use AC_LANG_SOURCE when needed in case a complete source block is specified

Most of the changes are in configure.(ac|in), however there were some cases
where autoconf is either broken or the build failed because of an autoconf
generated configure script. Everytihng else is switched to autoconf, so
the maintainers can go ahead and upstream these diffs.

There are more to come, we are continously checking the tree for these issues
and in the future the infrastructure will error if such a case is found.
2017-09-25 09:16:12 +00:00
schwarze
6675a1f965 mandoc supports .ta now, so drop USE_GROFF and bump 2017-05-07 20:25:32 +00:00
sthen
1b4949740b reset maintainer, bouncing mail - pointed out by jasper@ 2015-05-17 11:42:17 +00:00
naddy
570aa62a9c Drop remaining MD5/RMD160/SHA1 checksums. 2015-01-18 03:12:39 +00:00
espie
eae66e4a7b PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:35:43 +00:00
sthen
88ea72915d Change SEPARATE_BUILD=(concurrent|simple) to Yes; bsd.port.mk doesn't
make a distinction between these.  ok aja@ dcoppa@
2012-03-29 13:38:12 +00:00
espie
47ff75aa46 USE_GROFF=Yes 2010-10-18 18:36:45 +00:00
merdely
241b722760 Remove surrounding quotes in COMMENT*/PERMIT_*/BROKEN/ERRORS
Add $OpenBSD$ to p5-SNMP-Info/Makefile (ok kili@, simon@)
2007-09-15 22:36:51 +00:00
espie
9eafbbfb35 base64 checksums. 2007-04-05 16:19:55 +00:00
naddy
fedfc3867f SIZE 2005-01-05 17:14:37 +00:00
alek
2344f6d18c Add WANTLIB markers 2004-12-16 00:31:20 +00:00
xsa
fd41146a7d @sample'ify. 2004-10-11 19:42:25 +00:00
espie
52b24f12ea new plists, kill a few INSTALL scripts. 2004-09-15 18:17:38 +00:00
xsa
cf90df2b06 Yes, that's yet another @extra round ... 2004-04-14 18:59:07 +00:00
espie
75bfbee276 zap multiline constants, regen patch 2004-01-04 23:19:41 +00:00
naddy
112339c1d4 remove WWW lines 2003-12-15 21:54:59 +00:00
fgsch
e5e4446061 finally, no more NEED_VERSION. 2002-12-29 21:14:10 +00:00
espie
aa8b372d10 say goodbye to MASTER_SITE_SUBDIR 2002-05-15 17:42:24 +00:00
espie
5b37289c23 md5->distinfo 2002-03-21 19:59:18 +00:00
bmc
852f6d502f * integrated COMMENT
* bumped NEED_VERSION
* updated my address

ok obecian@
2001-04-12 15:59:15 +00:00
danh
0b0b736b0f update to iplog 2.2.3 from maintainer 2001-01-18 02:21:02 +00:00
danh
0fad03629c TCP/IP traffic logging tool
Submitted by:	Brian Caswell <bmc@mitre.org>
2001-01-05 10:16:18 +00:00