mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
Eliminate /bin/bash-Linuxism
Noticed by: cluster via kris
This commit is contained in:
parent
3b0ec45c13
commit
c1f5b107bc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128454
@ -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//}
|
||||
|
8
lang/generic-haskell/files/patch-mkAGdepend.in
Normal file
8
lang/generic-haskell/files/patch-mkAGdepend.in
Normal 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
|
||||
#
|
Loading…
Reference in New Issue
Block a user