aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2008-07-20 14:54:33 +0000
committerOliver Braun <obraun@FreeBSD.org>2008-07-20 14:54:33 +0000
commitc8c85432c7e254585f186cb6a76fb119648c462f (patch)
tree1f9f873600dcc70cae9133ef28f1d2bfd5fd5c17
parent5189ae3952caa79fe2a235342a49463713d41e42 (diff)
downloadports-c8c85432c7e254585f186cb6a76fb119648c462f.tar.gz
ports-c8c85432c7e254585f186cb6a76fb119648c462f.zip
Add ghc as run depend, since c2hs installs files in ghc's cabal dir, and make portlint happier.
Notes
Notes: svn path=/head/; revision=217194
-rw-r--r--devel/hs-c2hs/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/hs-c2hs/Makefile b/devel/hs-c2hs/Makefile
index 48245338f059..4345d3e98d03 100644
--- a/devel/hs-c2hs/Makefile
+++ b/devel/hs-c2hs/Makefile
@@ -18,6 +18,7 @@ COMMENT= C->Haskell, an Interface Generator for Haskell
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc \
happy:${PORTSDIR}/devel/hs-happy \
alex:${PORTSDIR}/devel/hs-alex
+RUN_DEPENDS= ghc:${PORTSDIR}/lang/ghc
LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4
.include <bsd.port.pre.mk>
@@ -25,8 +26,8 @@ LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4
GHC_VERSION= 6.8.3
# 'owned' by lang/ghc:
-CABALDIR= ${PREFIX}/${SUBDIR}
-CABALCMD= ${LOCALBASE}/bin/runghc Setup.hs
+CABALDIR= ${PREFIX}/${SUBDIR}
+CABALCMD= ${LOCALBASE}/bin/runghc Setup.hs
SUBDIR= lib/ghc-${GHC_VERSION}/cabal
PLIST_FILES= bin/c2hs ${SUBDIR}/${PORTNAME}/C2HS.hs \