Make in-place patch more tamper-proof.
Submitted by: kris
This commit is contained in:
parent
ba574b0cf2
commit
0c9f096302
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=160493
1 changed files with 1 additions and 3 deletions
|
@ -15,13 +15,11 @@ COMMENT= A Haskell-style language
|
|||
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc \
|
||||
happy:${PORTSDIR}/devel/hs-happy
|
||||
|
||||
USE_REINPLACE= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}/src
|
||||
MAKE_ARGS= GHC=ghc INSTALL_PATH='\"${DATADIR}/\"'
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} 's/gcc -O3/${CC} ${CFLAGS}/' ${WRKSRC}/Solvers/Makefile
|
||||
${REINPLACE_CMD} 's|gcc -O3|${CC} ${CFLAGS}|' ${WRKSRC}/Solvers/Makefile
|
||||
@${RMDIR} ${WRKSRC}/../lib/Haskell98
|
||||
|
||||
do-install:
|
||||
|
|
Loading…
Reference in a new issue