aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-02-10 08:08:59 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-02-10 08:08:59 +0000
commitc1f5b107bcfb1c1a691940f7eb91381d864eb41a (patch)
tree26334ccde081de8f7398222a9f56dfb577babb4a /lang
parent3b0ec45c1363325fe5ddf4bbb1a1e6c75a571788 (diff)
downloadports-c1f5b107bcfb1c1a691940f7eb91381d864eb41a.tar.gz
ports-c1f5b107bcfb1c1a691940f7eb91381d864eb41a.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/generic-haskell/Makefile5
-rw-r--r--lang/generic-haskell/files/patch-mkAGdepend.in8
2 files changed, 12 insertions, 1 deletions
diff --git a/lang/generic-haskell/Makefile b/lang/generic-haskell/Makefile
index cf7856f6f558..65024a93e9a6 100644
--- a/lang/generic-haskell/Makefile
+++ b/lang/generic-haskell/Makefile
@@ -13,7 +13,9 @@ DISTNAME= gh-${PORTVERSION}-source
MAINTAINER= haskell@FreeBSD.org
COMMENT= The Generic Haskell compiler
-BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
+BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc \
+ bash:${PORTSDIR}/shells/bash
+
.if !defined(WITHOUT_HUGS) # otherwise the gh-hugs-wrapper won't work
BUILD_DEPENDS+= hugs:${PORTSDIR}/lang/hugs
PLIST_SUB+= HUGS=""
@@ -39,6 +41,7 @@ INSTALL_TARGET= install
GHC_VERSION= `${LOCALBASE}/bin/ghc --numeric-version`
PLIST_SUB+= GHC_VERSION="${GHC_VERSION}"
+PATCH_WRKSRC= ${WRKDIR}/${DISTNAME:S/-source//}
WRKSRC= ${WRKDIR}/${DISTNAME:S/-source//}/build
GHLIBDIR= ${PREFIX}/${DISTNAME:S/-source//}
PLIST_SUB+= GH=${DISTNAME:S/-source//}
diff --git a/lang/generic-haskell/files/patch-mkAGdepend.in b/lang/generic-haskell/files/patch-mkAGdepend.in
new file mode 100644
index 000000000000..7b09e11e4d2d
--- /dev/null
+++ b/lang/generic-haskell/files/patch-mkAGdepend.in
@@ -0,0 +1,8 @@
+--- mkAGdepend.in.orig Thu Feb 10 09:04:58 2005
++++ mkAGdepend.in Thu Feb 10 09:05:08 2005
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/usr/local/bin/bash
+
+ # special purpose version of mkAGdepend to be used by GH build system
+ #