From owner-freebsd-ports Tue Aug 24 11:11:33 1999 Delivered-To: freebsd-ports@freebsd.org Received: from mail-green.research.att.com (H-135-207-30-103.research.att.com [135.207.30.103]) by hub.freebsd.org (Postfix) with ESMTP id 32A6614CEA for ; Tue, 24 Aug 1999 11:11:27 -0700 (PDT) (envelope-from fenner@research.att.com) Received: from alliance.research.att.com (alliance.research.att.com [135.207.26.26]) by mail-green.research.att.com (Postfix) with ESMTP id EECB61E015 for ; Tue, 24 Aug 1999 14:09:44 -0400 (EDT) Received: from windsor.research.att.com (windsor.research.att.com [135.207.26.46]) by alliance.research.att.com (8.8.7/8.8.7) with ESMTP id OAA22228 for ; Tue, 24 Aug 1999 14:09:44 -0400 (EDT) From: Bill Fenner Received: (from fenner@localhost) by windsor.research.att.com (8.8.8+Sun/8.8.5) id LAA09622; Tue, 24 Aug 1999 11:09:44 -0700 (PDT) Message-Id: <199908241809.LAA09622@windsor.research.att.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: ports@freebsd.org Subject: Should USE_IMAKE get ${MAKE_ENV}? Date: Tue, 24 Aug 1999 11:09:43 -0700 Versions: dmail (solaris) 2.2d/makemail 2.8u Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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