Date: Tue, 24 Aug 1999 11:09:43 -0700 From: Bill Fenner <fenner@research.att.com> To: ports@freebsd.org Subject: Should USE_IMAKE get ${MAKE_ENV}? Message-ID: <199908241809.LAA09622@windsor.research.att.com>
next in thread | raw e-mail | index | archive | help
I'm using ${LOCALBASE} in an Imakefile to grab libpng. When xmkmf does its "make depend", ${LOCALBASE} doesn't get expanded so png.h isn't found: gccmakedep -f- -- -I/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO =15 -DNARROWPROTO -DHAVE_GUNZIP -- bright.c clip.c cmuwmrast.c compress.c dith er.c faces.c fbm.c fill.c g3.c gif.c halftone.c imagetypes.c img.c mac.c mcidas .c mc_tables.c merge.c misc.c new.c options.c path.c pbm.c pcx.c reduce.c jpeg.c jpeglib.c rle.c rlelib.c root.c rotate.c send.c smooth.c sunraster.c value.c w indow.c xbitmap.c xli.c xpixmap.c xwd.c zio.c zoom.c ddxli.c doslib.c tga.c bmp. c pcd.c png.c xlito.c > .depend png.c:8: png.h: No such file or directory Does anyone have any opinion on the following patch? --- bsd.port.mk 1999/07/23 09:36:54 1.315 +++ bsd.port.mk 1999/08/24 18:06:43 @@ -1544,7 +1544,7 @@ fi) .endif .if defined(USE_IMAKE) - @(cd ${WRKSRC} && ${XMKMF}) + @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${XMKMF}) .endif .endif Thanks, Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908241809.LAA09622>