On 2013/06/22 17:24, Sebastian Reitenbach wrote:
> New version is not from the original author
R.I.P.
> # GPL
This can be marked as GPLv2+
> +WANTLIB += c m pcap gif png pthread z jpeg
^
totally nitpicking ;) but whitespace at EOL here.
> + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lm -lz"
Forcing -lm -lz doesn't seem to be necessary, can you try removing these
and re-syncing WANTLIB?
> - # Basic compiler, linker flags; should not need any changes.
> --CFLAGS += -g -Wall
> --LDFLAGS += -g
> -+#CFLAGS += -g -Wall
> -+#LDFLAGS += -g
configure.ac has something similar:
if test "x$enable_debug" = xyes; then
CFLAGS="-O2 -g -DDEBUG"
else
CFLAGS="-O2 -DNDEBUG"
fi
Please remove these lines and set CONFIGURE_STYLE=autoconf
AUTOCONF_VERSION=2.69 so that configure is regenerated, ports are
supposed to honour CFLAGS passed in by the user.