the gnuplot port configure script tests for libpng with a small test program. The test does not find libraries in /usr/local/lib, because /usr/libexec/elf/ld does not search there. Fix: apply the following path to the ports Makefile: GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/gd" +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/gd" LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_ARGS= --exec-prefix=${PREFIX} \ --includedir=${LOCALBASE}/include/ \ --libdir=${LOCALBASE}/lib \--E41EsETcbbJ9dTYJ1SxhCxOgmoOauT0wy2Erl9VvBErG7zzD Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- Makefile~ Thu Nov 7 16:13:00 2002 +++ Makefile Thu Nov 7 16:12:24 2002 @@ -21,7 +21,7 @@ .endif How-To-Repeat: update to gnuplot 3.7.2 enter 'cd /usr/ports/math/gnuplot; make' in the trace you see: checking for png_init_io in -lpng... no PNG library not found. and in the log: configure:4153: cc -o conftest -O -pipe -march=k6 -I/usr/local/include -I/usr/local/include/gd -I/usr/X11R6/include conftest.c -lpng -lz -lm 1>&5 /usr/libexec/elf/ld: cannot find -lpng
Responsible Changed From-To: freebsd-ports->chuckr over to maintainer
State Changed From-To: open->closed Committed, thanks! Since I did the upgrade to 3.7.2 I thought I should fix the problem :).