summaryrefslogtreecommitdiff
path: root/graphics/glass
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-10-28 22:02:06 +0000
committerPatrick Li <pat@FreeBSD.org>2002-10-28 22:02:06 +0000
commitc9e22d61c914e5e8c66daa9f80151e8401fff628 (patch)
tree919952a3f0b676a51c16da5616484c3a08259846 /graphics/glass
parentremove ESCAPE in makefile, thanks to FreshPorts.org (diff)
PERL -> REINPLACE_CMD
Submitted by: David Yeske <dyeske@yahoo.com>
Diffstat (limited to 'graphics/glass')
-rw-r--r--graphics/glass/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/glass/Makefile b/graphics/glass/Makefile
index fefba6a0d2bf..6c90e6359404 100644
--- a/graphics/glass/Makefile
+++ b/graphics/glass/Makefile
@@ -17,9 +17,11 @@ USE_MESA= yes
USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/src
INSTALLS_SHLIB= yes
+USE_REINPLACE= yes
pre-patch:
- @${PERL} -pi -e 's|malloc.h|stdlib.h|' ${WRKSRC}/*.c
+ @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' \
+ ${WRKSRC}/*.c
do-install:
@${INSTALL_DATA} ${WRKSRC}/libglass.so.1 ${PREFIX}/lib