From fc3879796cb8838f41c3cfd05d23ca8c4e9f9eb2 Mon Sep 17 00:00:00 2001 From: obraun Date: Mon, 9 Jun 2003 22:26:18 +0000 Subject: Use ghc --numeric-version. --- devel/hs-darcs/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'devel/hs-darcs') 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 -- cgit