On 10/22/12 22:09, Anders Trobäck wrote: > Hi, > > I'm trying to make an update of the E17 ports but are stuck at number > two!:-) > > Eet are complaining about jpeglib.h! Any ideas out there how to solve > this (besides disable jpeg support in eet)? > > Thanks! > > Br/Anders > > --8<----------------------------------------------------------------- > checking jpeglib.h usability... yes > checking jpeglib.h presence... no > configure: WARNING: jpeglib.h: accepted by the compiler, rejected by > the prepressor! configure: WARNING: jpeglib.h: proceeding with the > compiler's result checking for jpeglib.h... yes > checking for jpeg_std_error in -ljpeg... no > configure: error: "Cannot find libjpeg library. Make sure your LDFLAGS > environnt variable contains include lines for the location of this > file" *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2493 > '/usr/obj/porteet-1.7.1/.configure_done': @for d > in /usr/obj/ports/eet-1.7...) *** Error 1 > in /usr/ports/mystuff/x11/e17/eet > (/usr/ports/infrastructure/mk/bsport.mk:2251 'build') > --8<----------------------------------------------------------------- > > I get this,
checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking for jpeg_std_error in -ljpeg... yes checking for libjpeg... yes With these changes in the Makefile CONFIGURE_ENV = CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ - LDFLAGS="${LDFLAGS} -I${LOCALBASE}/lib" + CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"