Summary: | net-mail/mess822 does not respect LDFLAGS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Net-Mail Packages <net-mail+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | QA | CC: | esigra |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 331933 | ||
Attachments: |
Build log
Patch to mess822-0.58-r1.ebuild to modernize the build system and respect LDFLAGS along the way |
Description
Diego Elio Pettenò (RETIRED)
2010-08-26 14:43:29 UTC
Created attachment 244707 [details]
Build log
Created attachment 245181 [details, diff]
Patch to mess822-0.58-r1.ebuild to modernize the build system and respect LDFLAGS along the way
This was a bigger task than I expected going in. Upstream used custom thin wrappers to run the compiler, linker, and ar. Also, the make process itself tries to discover various system properties by building and running test programs. This has nasty consequences for cross-compilation, so I decided to fix that too. As a nice side effect, the build log is now informative since the commands are printed instead of just "./compile FILE", etc.. (The install phase is also done via a custom built application just for installing. That is left for another day.)
This patch addresses the following issues:
- Respect $LDFLAGS by converting link rules (originally done via ./load) to use Make's LINK.o variable.
- Respect $CPPFLAGS by using COMPILE.c (originally done via ./compile).
- Fix bad manual definition of read and write by replacing that header with an inclusion of <unistd.h>.
- Drop all the system inspection helpers in favor of manually creating the outputs they would have done. As best I can tell, everything they seek is specified in POSIX.1-2001, so it turned out to be nothing more than a series of one line headers that #include standard system headers.
- Fix conflicting definition of a package local function named 'puts' with different semantics than system puts, by renaming package local puts to avoid_system_puts.
+*mess822-0.58-r2 (06 Jun 2011) + + 06 Jun 2011; Eray Aslan <eras@gentoo.org> +mess822-0.58-r2.ebuild, + +files/mess822-0.58-implicit.patch: + Respect CFLAGS - bug #241056. Respect LDFLAGS - bug #334603. Restrict test - + bug #283172 + |