aboutsummaryrefslogtreecommitdiffstats
path: root/devel/hs-darcs
diff options
context:
space:
mode:
Diffstat (limited to 'devel/hs-darcs')
-rw-r--r--devel/hs-darcs/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/devel/hs-darcs/Makefile b/devel/hs-darcs/Makefile
index 312e9cde4a0e..ab47068e4288 100644
--- a/devel/hs-darcs/Makefile
+++ b/devel/hs-darcs/Makefile
@@ -20,8 +20,7 @@ USE_REINPLACE= yes
USE_GMAKE= yes
ALL_TARGET= darcs darcs.1 darcs-patcher darcs-createrepo
-GHC_VERSION= `${PREFIX}/bin/ghc --version 2>&1 | \
- ${SED} 's/^.*version[ ]*\([0-9.]*\).*/\1/'`
+GHC_VERSION= `${LOCALBASE}/bin/ghc ----numeric-version`
.if defined(WITH_CGI)
ALL_TARGET+= darcs_cgi