ports/75169: [MAINTAINER] net/kf: fix build on the 4-stable

Volker Stolz vs at FreeBSD.org
Fri Dec 17 11:54:43 UTC 2004


Synopsis: [MAINTAINER] net/kf: fix build on the 4-stable

State-Changed-From-To: open->feedback
State-Changed-By: vs
State-Changed-When: Fri Dec 17 11:50:33 GMT 2004
State-Changed-Why: 
This is not yet sufficient:

 -lX11 -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv   -lXss -L/usr/X11R6/lib -liconv
main.o: In function `parse_cmdline':
main.o(.text+0x132): undefined reference to `getopt_long'
*** Error code 1

Your CONFIGURE_ENV-handling is not right. You unconditionally
nuke LDFLAGS for example. Please check what will already be
contained in CONFIGURE_ENV before modifying it.

The main problem is src/Makefile.{in,am}, which says:
CFLAGS = -Wall -Wmissing-declarations
LDFLAGS = -g
You should patch these to use the actual values passed during
configuration. Also, this should probably be reported upstream.

Cheers,
  Volker


Responsible-Changed-From-To: freebsd-ports-bugs->vs
Responsible-Changed-By: vs
Responsible-Changed-When: Fri Dec 17 11:50:33 GMT 2004
Responsible-Changed-Why: 
I'll track this.

http://www.freebsd.org/cgi/query-pr.cgi?pr=75169



More information about the freebsd-ports-bugs mailing list