summaryrefslogtreecommitdiff
path: root/lang/guile
diff options
context:
space:
mode:
authorOKAZAKI Tetsurou <okazaki@FreeBSD.org>2002-08-05 20:31:04 +0000
committerOKAZAKI Tetsurou <okazaki@FreeBSD.org>2002-08-05 20:31:04 +0000
commite5c7cec95e529659f5af22da192b9743b24ca1ac (patch)
tree3448b2169a9761cf39bd85ddb28ab02764574b1d /lang/guile
parent- Update to 1.36.55 (diff)
Add a workaround for the error of ${REINPLACE_CMD}.
List reinplaced files statically.
Notes
Notes: svn path=/head/; revision=64064
Diffstat (limited to 'lang/guile')
-rw-r--r--lang/guile/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/lang/guile/Makefile b/lang/guile/Makefile
index 3be68c3c3ff9..b30cdb5e987f 100644
--- a/lang/guile/Makefile
+++ b/lang/guile/Makefile
@@ -26,9 +26,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
PLIST_SUB= GUILE_VER=${PORTVERSION}
+REINPLACE_FILES= libguile/gc.c libguile/mallocs.c \
+ libguile/ports.c libguile/smob.c
+
+post-extract:
+ cd ${WRKSRC}; ${CHMOD} u+w ${REINPLACE_FILES}
+
post-patch:
- @(cd ${WRKSRC} ; \
- ${FIND} . -type f -name "*.c" | ${XARGS} ${REINPLACE_CMD} -e \
- "s|<malloc.h>|<stdlib.h>|g")
+ cd ${WRKSRC} ; \
+ ${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|g' ${REINPLACE_FILES}
.include <bsd.port.mk>