aboutsummaryrefslogtreecommitdiff
path: root/graphics/svgalib
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2006-10-04 00:02:05 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2006-10-04 00:02:05 +0000
commitf1f6d99e37e011ad7a4d296cf2d6ceef4e7151e0 (patch)
tree4aea705286a28c6c979615cd251bdb2d1eb1bdcb /graphics/svgalib
parentad3bdb7a0c034b17c1c8cfeec58c96ae8b345839 (diff)
downloadports-f1f6d99e37e011ad7a4d296cf2d6ceef4e7151e0.tar.gz
ports-f1f6d99e37e011ad7a4d296cf2d6ceef4e7151e0.zip
Notes
Diffstat (limited to 'graphics/svgalib')
-rw-r--r--graphics/svgalib/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/svgalib/Makefile b/graphics/svgalib/Makefile
index 950dc336ce83..a5312b3148e2 100644
--- a/graphics/svgalib/Makefile
+++ b/graphics/svgalib/Makefile
@@ -30,12 +30,16 @@ MAN${i}!= ${CAT} ${FILESDIR}/man${i}
.endif
.endfor
-pre-patch:
+pre-patch: .SILENT
for file in ${WRKSRC}/utils/gtf/*.h; do \
${TR} -d '\015' < $${file} > $${file}.new; \
${MV} $${file}.new $${file}; \
done
${MKDIR} ${WRKSRC}/include/linux
+ # Fix for GCC 4.1
+ ${REINPLACE_CMD} '30d' ${WRKSRC}/src/vgabg.h
+ ${REINPLACE_CMD} -e 's,^ (unsigned [[:alpha:]]*),,' \
+ ${WRKSRC}/src/apm.c
post-install:
${MKDIR} ${PREFIX}/include/linux