Date: Thu, 28 May 2020 12:37:55 +0000 From: bugzilla-noreply@freebsd.org To: haskell@FreeBSD.org Subject: [Bug 246800] lang/ghc: ghc cannot be installed because ghc is not installed Message-ID: <bug-246800-16154-vF5NZiv4q0@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-246800-16154@https.bugs.freebsd.org/bugzilla/> References: <bug-246800-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=3D246800 --- Comment #7 from Gleb Popov <arrowd@FreeBSD.org> --- Makes sense. Would following change be helpful? Index: lang/ghc/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- lang/ghc/Makefile (revision 536651) +++ lang/ghc/Makefile (working copy) @@ -254,6 +254,11 @@ .if empty(PORT_OPTIONS:MBOOT) cd ${BOOT_DIR} && ${CONFIGURE_ENV} ${CONFIGURE_CMD} --prefix=3D${BOOT_DIR} cd ${BOOT_DIR} && PACKAGES=3D'' ${MAKE_CMD} install +.else +# otherwise, make sure we have "ghc" in PATH + if ! ${WHICH} -s ghc ; then \ + echo "No 'ghc' executable is found in your PATH! Turn off B= OOT option." ; false ; \ + fi .endif # If DOCS are set, install HsColour in-place .if ${PORT_OPTIONS:MDOCS} --=20 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-246800-16154-vF5NZiv4q0>