Date: Thu, 07 Mar 2024 16:50:06 +0000 From: bugzilla-noreply@freebsd.org To: haskell@FreeBSD.org Subject: [Bug 277492] lang/ghc fails build/install gmake invalid option -- D Message-ID: <bug-277492-16154-FAYaIEFd8S@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-277492-16154@https.bugs.freebsd.org/bugzilla/> References: <bug-277492-16154@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277492 --- Comment #15 from Tijl Coosemans <tijl@FreeBSD.org> --- (In reply to Gleb Popov from comment #14) Grep for 'gmake|GMAKE|MAKE_CMD' to find suspicious lines. These are the ones in lang/ghc/Makefile: $ egrep -n 'gmake|GMAKE|MAKE_CMD' lang/ghc/Makefile 20:USES= autoreconf compiler:c11 gmake \ 215: cd ${BOOT_DIR} && ${MAKE_CMD} PACKAGES='' install 276: && ${GMAKE} binary-dist TAR_COMP=xz \ 295: && ${GMAKE} binary-dist TAR_COMP=xz \ It looks like 215 is the one from comment 0. You can replace that line with: cd ${BOOT_DIR} && ${SETENVI} ${WRK_ENV} ${MAKE_CMD} PACKAGES='' install Line 276 and 295 would become: && ${SETENVI} ${WRK_ENV} ${GMAKE} binary-dist TAR_COMP=xz \ For testing you can put something like this in make.conf (/usr/local/etc/poudriere.d/make.conf): .MAKEFLAGS+= -D __GMAKE_TRAP__ If a port fails to build with this then there are more commands that need SETENVI. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277492-16154-FAYaIEFd8S>
