Eliminate /bin/bash-Linuxism

Noticed by: cluster via kris
This commit is contained in:
Volker Stolz 2005-02-10 08:08:59 +00:00
parent 3b0ec45c13
commit c1f5b107bc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128454
2 changed files with 12 additions and 1 deletions

View File

@ -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//}

View File

@ -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
#