aboutsummaryrefslogtreecommitdiff
path: root/devel/hs-fps
diff options
context:
space:
mode:
Diffstat (limited to 'devel/hs-fps')
-rw-r--r--devel/hs-fps/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/hs-fps/Makefile b/devel/hs-fps/Makefile
index ab6fa062f2c0..02465d73568d 100644
--- a/devel/hs-fps/Makefile
+++ b/devel/hs-fps/Makefile
@@ -45,7 +45,7 @@ do-install:
@cd ${WRKSRC}; ./${SETUP} install
post-install:
- @ver=`ghc -V | ${SED} "s/^.*version \(.*\)$$/\1/"`; \
+ @ver=`ghc --numeric-version`; \
${REINPLACE_CMD} -e "s|%%GHC_VERSION%%|$${ver}|g" ${TMPPLIST}
.include <bsd.port.post.mk>