aboutsummaryrefslogtreecommitdiff
path: root/devel/darcs
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2003-06-09 22:26:18 +0000
committerOliver Braun <obraun@FreeBSD.org>2003-06-09 22:26:18 +0000
commitce9681d793d748cbf409fa2d2b5a0792d3599402 (patch)
tree90b42d3f67beaab46ce4977054eaf68c3aa9cf61 /devel/darcs
parent4619933fd50673752160197402a2fb35001a6a77 (diff)
downloadports-ce9681d793d748cbf409fa2d2b5a0792d3599402.tar.gz
ports-ce9681d793d748cbf409fa2d2b5a0792d3599402.zip
Notes
Diffstat (limited to 'devel/darcs')
-rw-r--r--devel/darcs/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/devel/darcs/Makefile b/devel/darcs/Makefile
index 312e9cde4a0e..ab47068e4288 100644
--- a/devel/darcs/Makefile
+++ b/devel/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