diff options
author | obraun <obraun@FreeBSD.org> | 2003-06-10 06:26:18 +0800 |
---|---|---|
committer | obraun <obraun@FreeBSD.org> | 2003-06-10 06:26:18 +0800 |
commit | fc3879796cb8838f41c3cfd05d23ca8c4e9f9eb2 (patch) | |
tree | 00958db1d8c9bb13f984474828a33886d0ac9dfe /devel/darcs | |
parent | 1346b9bdb47f37858f6ec007edfdfd94a12b3d92 (diff) | |
download | freebsd-ports-gnome-fc3879796cb8838f41c3cfd05d23ca8c4e9f9eb2.tar.gz freebsd-ports-gnome-fc3879796cb8838f41c3cfd05d23ca8c4e9f9eb2.tar.zst freebsd-ports-gnome-fc3879796cb8838f41c3cfd05d23ca8c4e9f9eb2.zip |
Use ghc --numeric-version.
Diffstat (limited to 'devel/darcs')
-rw-r--r-- | devel/darcs/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/devel/darcs/Makefile b/devel/darcs/Makefile index 312e9cde4a0e..ab47068e4288 100644 --- a/devel/darcs/Makefile +++ b/devel/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 |