summaryrefslogtreecommitdiff
path: root/devel/jam/Makefile
diff options
context:
space:
mode:
authorOKAZAKI Tetsurou <okazaki@FreeBSD.org>2002-07-18 22:08:46 +0000
committerOKAZAKI Tetsurou <okazaki@FreeBSD.org>2002-07-18 22:08:46 +0000
commit1535d7de2a021b63dbf65016b12907e824daba21 (patch)
tree01a9f2c0cb5d40d0a1fa1a30ead6680b98682037 /devel/jam/Makefile
parentThis is not going to run on 64-bit archs without a substantial rewrite. (diff)
Fix REINPLACE problem.
PR: 40484, 40485 Submitted by: Edwin Groothuis <edwin@mavetju.org>
Notes
Notes: svn path=/head/; revision=63220
Diffstat (limited to 'devel/jam/Makefile')
-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"