aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2006-04-26 15:15:23 +0800
committervs <vs@FreeBSD.org>2006-04-26 15:15:23 +0800
commitc968c73dfaddc519b11a53b6b76213ab2cd9be31 (patch)
treee320d11d9fbbf6420d94fc0f1b47d255c31133fd /lang
parent7037edea8a16bcca69040476fd54f4ea2ff88452 (diff)
downloadfreebsd-ports-gnome-c968c73dfaddc519b11a53b6b76213ab2cd9be31.tar.gz
freebsd-ports-gnome-c968c73dfaddc519b11a53b6b76213ab2cd9be31.tar.zst
freebsd-ports-gnome-c968c73dfaddc519b11a53b6b76213ab2cd9be31.zip
Make in-place patch more tamper-proof.
Submitted by: kris
Diffstat (limited to 'lang')
-rw-r--r--lang/chameleon/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/lang/chameleon/Makefile b/lang/chameleon/Makefile
index c826c57d7910..29bab2132f87 100644
--- a/lang/chameleon/Makefile
+++ b/lang/chameleon/Makefile
@@ -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: