From ce9681d793d748cbf409fa2d2b5a0792d3599402 Mon Sep 17 00:00:00 2001 From: Oliver Braun 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 v1.2.3