aboutsummaryrefslogtreecommitdiffstats
path: root/devel/hs-darcs
diff options
context:
space:
mode:
authorobraun <obraun@FreeBSD.org>2003-06-10 06:26:18 +0800
committerobraun <obraun@FreeBSD.org>2003-06-10 06:26:18 +0800
commitfc3879796cb8838f41c3cfd05d23ca8c4e9f9eb2 (patch)
tree00958db1d8c9bb13f984474828a33886d0ac9dfe /devel/hs-darcs
parent1346b9bdb47f37858f6ec007edfdfd94a12b3d92 (diff)
downloadfreebsd-ports-gnome-fc3879796cb8838f41c3cfd05d23ca8c4e9f9eb2.tar.gz
freebsd-ports-gnome-fc3879796cb8838f41c3cfd05d23ca8c4e9f9eb2.tar.zst
freebsd-ports-gnome-fc3879796cb8838f41c3cfd05d23ca8c4e9f9eb2.zip
Use ghc --numeric-version.
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