diff options
author | vs <vs@FreeBSD.org> | 2005-02-10 16:08:59 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-02-10 16:08:59 +0800 |
commit | ab59b192e02ec54ca72196e28ff5b6f44048e60a (patch) | |
tree | 16b62620320c74da3f36a927f16a83ecb6227c8e /lang | |
parent | 19083e235b3c7a8027aeca07c37f8a02bff87269 (diff) | |
download | freebsd-ports-gnome-ab59b192e02ec54ca72196e28ff5b6f44048e60a.tar.gz freebsd-ports-gnome-ab59b192e02ec54ca72196e28ff5b6f44048e60a.tar.zst freebsd-ports-gnome-ab59b192e02ec54ca72196e28ff5b6f44048e60a.zip |
Eliminate /bin/bash-Linuxism
Noticed by: cluster via kris
Diffstat (limited to 'lang')
-rw-r--r-- | lang/generic-haskell/Makefile | 5 | ||||
-rw-r--r-- | lang/generic-haskell/files/patch-mkAGdepend.in | 8 |
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 + # |