aboutsummaryrefslogtreecommitdiff
path: root/lang/smalltalk
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-21 16:20:23 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-21 16:20:23 +0000
commit2f1e7a4789fec4de94b38c53d01bd08ee10124ea (patch)
treeaed87b1b125eb0bb5bfb90c2dadd3296670f067f /lang/smalltalk
parent444d2e1edce5f2e0fad951a90dc9b7845dd81f37 (diff)
downloadports-2f1e7a4789fec4de94b38c53d01bd08ee10124ea.tar.gz
ports-2f1e7a4789fec4de94b38c53d01bd08ee10124ea.zip
Notes
Diffstat (limited to 'lang/smalltalk')
-rw-r--r--lang/smalltalk/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/lang/smalltalk/Makefile b/lang/smalltalk/Makefile
index de76608b9c5f..c55660d1c4f9 100644
--- a/lang/smalltalk/Makefile
+++ b/lang/smalltalk/Makefile
@@ -14,6 +14,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.a/a/}
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= MAKEINFO='makeinfo --no-split'
@@ -35,8 +36,8 @@ post-extract:
@${RM} -f ${WRKSRC}/doc/gst.info*
pre-patch:
- @${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${PERL} -pi -e \
- 's| -release \$$\(VERSION\)| -avoid-version|g'
- @${PERL} -pi -e 's|<malloc.h>|<stdlib.h>|g' ${WRKSRC}/libltdl/ltdl.c
+ @${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${REINPLACE_CMD} -e \
+ 's| -release \$$(VERSION)| -avoid-version|g'
+ @${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' ${WRKSRC}/libltdl/ltdl.c
.include <bsd.port.mk>