diff options
author | okazaki <okazaki@FreeBSD.org> | 2002-08-06 04:31:04 +0800 |
---|---|---|
committer | okazaki <okazaki@FreeBSD.org> | 2002-08-06 04:31:04 +0800 |
commit | 2a26a74c47ecddb4710433834659fb8157c41bbd (patch) | |
tree | 68aea7c62a1192f00d763a301fe71a0fc2d30aa5 /lang/guile | |
parent | 139086c70a25ef306bca9bceadcaa0d0db4fa22b (diff) | |
download | freebsd-ports-gnome-2a26a74c47ecddb4710433834659fb8157c41bbd.tar.gz freebsd-ports-gnome-2a26a74c47ecddb4710433834659fb8157c41bbd.tar.zst freebsd-ports-gnome-2a26a74c47ecddb4710433834659fb8157c41bbd.zip |
Add a workaround for the error of ${REINPLACE_CMD}.
List reinplaced files statically.
Diffstat (limited to 'lang/guile')
-rw-r--r-- | lang/guile/Makefile | 11 |
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> |