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-c2hs/Makefile | |
parent | ccd57bc622512f37d4c7c9eb5795a66ffc646746 (diff) | |
download | ports-4619933fd50673752160197402a2fb35001a6a77.tar.gz ports-4619933fd50673752160197402a2fb35001a6a77.zip |
Notes
Diffstat (limited to 'devel/hs-c2hs/Makefile')
-rw-r--r-- | devel/hs-c2hs/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/devel/hs-c2hs/Makefile b/devel/hs-c2hs/Makefile index 0b1166415f1a..e197ba4d39e2 100644 --- a/devel/hs-c2hs/Makefile +++ b/devel/hs-c2hs/Makefile @@ -20,8 +20,7 @@ RUN_DEPENDS= ghc:${PORTSDIR}/lang/ghc HAS_CONFIGURE= yes USE_GMAKE= yes -GHC_VERSION= `${PREFIX}/bin/ghc --version 2>&1 | \ - ${SED} 's/^.*version[ ]*\([0-9.]*\).*/\1/'` +GHC_VERSION= `${LOCALBASE}/bin/ghc --numeric-version` PLIST_SUB+= C2HS_VERSION="${PORTVERSION}" GHC_VERSION="${GHC_VERSION}" CONFIGURE_ARGS+= --prefix=${PREFIX} --enable-add-package |