Make in-place patch more tamper-proof.

Submitted by: kris
This commit is contained in:
Volker Stolz 2006-04-26 07:15:23 +00:00
parent ba574b0cf2
commit 0c9f096302
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=160493

View file

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