diff options
author | Oliver Braun <obraun@FreeBSD.org> | 2003-06-09 22:26:18 +0000 |
---|---|---|
committer | Oliver Braun <obraun@FreeBSD.org> | 2003-06-09 22:26:18 +0000 |
commit | ce9681d793d748cbf409fa2d2b5a0792d3599402 (patch) | |
tree | 90b42d3f67beaab46ce4977054eaf68c3aa9cf61 /x11-toolkits | |
parent | Use ghc --numeric-version. (diff) |
Use ghc --numeric-version.
Notes
Notes:
svn path=/head/; revision=82630
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/hs-frantk/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/x11-toolkits/hs-frantk/Makefile b/x11-toolkits/hs-frantk/Makefile index 195b95a1d3f4..f9810e561760 100644 --- a/x11-toolkits/hs-frantk/Makefile +++ b/x11-toolkits/hs-frantk/Makefile @@ -37,8 +37,7 @@ PLIST_SUB+= HUGS="@comment " .if !defined(WITHOUT_GHC) ALL_TARGET+= all INSTALL_TARGET+=install_ghc pkg -GHC_VERSION= `${PREFIX}/bin/ghc --version 2>&1 | \ - ${SED} 's/^.*version[ ]*\([0-9.]*\).*/\1/'` +GHC_VERSION= `${LOCALBASE}/bin/ghc --numeric-version` PLIST_SUB+= GHC="" GHC_VERSION="${GHC_VERSION}" .else PLIST_SUB+= GHC="@comment " |