diff options
author | obache <obache@pkgsrc.org> | 2014-02-03 07:06:55 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-02-03 07:06:55 +0000 |
commit | 9112d3129ed88f95c6c9b29f036c3bec2882a801 (patch) | |
tree | 8b57a4678bacaa4a3bffa2c5e88cb5d8a8f4c320 /lang/ghc7 | |
parent | 3634e5c4b320f01e7a06730636979c9f2bf0f261 (diff) | |
download | pkgsrc-9112d3129ed88f95c6c9b29f036c3bec2882a801.tar.gz |
PKGNAME_NOREV is not defined yet.
Diffstat (limited to 'lang/ghc7')
-rw-r--r-- | lang/ghc7/bootstrap.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/ghc7/bootstrap.mk b/lang/ghc7/bootstrap.mk index 99fdcfb80c1..cd8c7400e80 100644 --- a/lang/ghc7/bootstrap.mk +++ b/lang/ghc7/bootstrap.mk @@ -1,4 +1,4 @@ -# $NetBSD: bootstrap.mk,v 1.5 2014/02/03 07:02:32 obache Exp $ +# $NetBSD: bootstrap.mk,v 1.6 2014/02/03 07:06:55 obache Exp $ # ----------------------------------------------------------------------------- # Select a bindist of bootstrapping compiler based on a per-platform # basis. @@ -80,7 +80,7 @@ pre-configure: #BUILDLINK_PASSTHRU_DIRS= ${PREFIX}/lib/${PKGNAME_NOREV} -.if exists(${WRKDIR}/${PKGNAME_NOREV}/mk/config.mk) +.if exists(${WRKDIR}/${DISTNAME:S/-src$//}/mk/config.mk) bootstrap: @${ERROR_MSG} "You have already configured the package in a way\ that building bootstrapping compiler is impossible." |