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 /textproc/hs-haxml/Makefile | |
parent | 4619933fd50673752160197402a2fb35001a6a77 (diff) | |
download | ports-ce9681d793d748cbf409fa2d2b5a0792d3599402.tar.gz ports-ce9681d793d748cbf409fa2d2b5a0792d3599402.zip |
Notes
Diffstat (limited to 'textproc/hs-haxml/Makefile')
-rw-r--r-- | textproc/hs-haxml/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/textproc/hs-haxml/Makefile b/textproc/hs-haxml/Makefile index 4ee0cec8c2e3..b2352ef57300 100644 --- a/textproc/hs-haxml/Makefile +++ b/textproc/hs-haxml/Makefile @@ -46,8 +46,7 @@ PLIST_SUB+= NHC98="" PLIST_SUB+= NHC98="@comment " .endif .if defined(WITH_GHC) -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 " |