diff options
author | Oliver Braun <obraun@FreeBSD.org> | 2003-06-09 21:46:09 +0000 |
---|---|---|
committer | Oliver Braun <obraun@FreeBSD.org> | 2003-06-09 21:46:09 +0000 |
commit | 4619933fd50673752160197402a2fb35001a6a77 (patch) | |
tree | fb2ff63d150d4bbf8f2c5f2bd1b51162c9c85c85 /devel/hs-hat | |
parent | ccd57bc622512f37d4c7c9eb5795a66ffc646746 (diff) | |
download | ports-4619933fd50673752160197402a2fb35001a6a77.tar.gz ports-4619933fd50673752160197402a2fb35001a6a77.zip |
Notes
Diffstat (limited to 'devel/hs-hat')
-rw-r--r-- | devel/hs-hat/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/devel/hs-hat/Makefile b/devel/hs-hat/Makefile index e9323e9d5a66..d80568d8c5b7 100644 --- a/devel/hs-hat/Makefile +++ b/devel/hs-hat/Makefile @@ -46,8 +46,7 @@ PLIST_SUB+= NHC98="" PLIST_SUB+= GHC="@comment " .else PLIST_SUB+= NHC98="@comment " -GHC_VERSION= `${PREFIX}/bin/ghc --version 2>&1 | \ - ${SED} 's/^.*version[ ]*\([0-9.]*\).*/\1/'` +GHC_VERSION= `${LOCALBASE}/bin/ghc --numeric-version` PLIST_SUB+= GHC="" PLIST_SUB+= GHC_VERSION="${GHC_VERSION}" .endif |