aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorokazaki <okazaki@FreeBSD.org>2002-07-19 06:08:46 +0800
committerokazaki <okazaki@FreeBSD.org>2002-07-19 06:08:46 +0800
commit18dec597d1ed7377216086a8e911fe6d81bfb46d (patch)
tree17949e4ab826349e54dc43026f3588d7ed66168d /devel
parent4542d2db3f12562551573713b00500d3a1896fff (diff)
downloadfreebsd-ports-gnome-18dec597d1ed7377216086a8e911fe6d81bfb46d.tar.gz
freebsd-ports-gnome-18dec597d1ed7377216086a8e911fe6d81bfb46d.tar.zst
freebsd-ports-gnome-18dec597d1ed7377216086a8e911fe6d81bfb46d.zip
Fix REINPLACE problem.
PR: 40484, 40485 Submitted by: Edwin Groothuis <edwin@mavetju.org>
Diffstat (limited to 'devel')
-rw-r--r--devel/jam/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/jam/Makefile b/devel/jam/Makefile
index 59b277de39c1..a840ca67cf09 100644
--- a/devel/jam/Makefile
+++ b/devel/jam/Makefile
@@ -18,10 +18,13 @@ USE_ZIP= yes
USE_REINPLACE= yes
EXTRACT_BEFORE_ARGS= -q -aa
+post-extract:
+ @${CHMOD} u+w ${WRKSRC}/Makefile
+
pre-patch:
@${REINPLACE_CMD} -e 's|^CC|#CC|g ; \
s|^CFLAGS|#CFLAGS|g ; \
- s|\tjam|\t\$$\{.CURDIR\}/jam|g' ${WRKSRC}/Makefile
+ s|^ jam| ./jam|g' ${WRKSRC}/Makefile
do-install:
.if ${MACHINE_ARCH} == "alpha"