summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-05 00:26:28 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-05 00:26:28 +0000
commitfab3e8b3e5dcd5ef73acfe4b910e1a1bd202ce66 (patch)
tree41cd46af784205ac4fbdd81e696302c427fd6a10 /graphics
parentFixed pre-patch target broken due to REINPLACE_CMD (diff)
Fix damage done by replacing PERL into REINPLACE_CMD.
Noticed on: bento
Notes
Notes: svn path=/head/; revision=69483
Diffstat (limited to 'graphics')
-rw-r--r--graphics/svgalib/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/svgalib/Makefile b/graphics/svgalib/Makefile
index 526396b78c3c..abae33579184 100644
--- a/graphics/svgalib/Makefile
+++ b/graphics/svgalib/Makefile
@@ -14,7 +14,6 @@ MASTER_SITES= http://www.svgalib.org/
MAINTAINER= sobomax@FreeBSD.org
USE_GMAKE= yes
-USE_REINPLACE= yes
INSTALLS_SHLIB= yes
ALL_TARGET= shared static
@@ -34,7 +33,10 @@ MAN${i}!= /bin/cat ${FILESDIR}/man${i}
.endfor
pre-patch:
- ${REINPLACE_CMD} -e 's.\x0D..' ${WRKSRC}/utils/gtf/*
+ for file in ${WRKSRC}/utils/gtf/*.h; do \
+ ${TR} -d '\015' < $${file} > $${file}.new; \
+ ${MV} $${file}.new $${file}; \
+ done
${MKDIR} ${WRKSRC}/include/linux
post-install: