aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/hs-frantk
diff options
context:
space:
mode:
authorobraun <obraun@FreeBSD.org>2003-06-10 06:26:18 +0800
committerobraun <obraun@FreeBSD.org>2003-06-10 06:26:18 +0800
commitfc3879796cb8838f41c3cfd05d23ca8c4e9f9eb2 (patch)
tree00958db1d8c9bb13f984474828a33886d0ac9dfe /x11-toolkits/hs-frantk
parent1346b9bdb47f37858f6ec007edfdfd94a12b3d92 (diff)
downloadfreebsd-ports-gnome-fc3879796cb8838f41c3cfd05d23ca8c4e9f9eb2.tar.gz
freebsd-ports-gnome-fc3879796cb8838f41c3cfd05d23ca8c4e9f9eb2.tar.zst
freebsd-ports-gnome-fc3879796cb8838f41c3cfd05d23ca8c4e9f9eb2.zip
Use ghc --numeric-version.
Diffstat (limited to 'x11-toolkits/hs-frantk')
-rw-r--r--x11-toolkits/hs-frantk/Makefile3
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 "