diff options
author | hubertf <hubertf> | 2004-05-27 22:20:00 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2004-05-27 22:20:00 +0000 |
commit | 201771fef9fb6cd25ac6063f32c247c8aba1cf72 (patch) | |
tree | c64b57212783f7a848fa57cd6d54c2cce8869dc2 /graphics/fujiplay/Makefile | |
parent | d255b73852b072d8650ab99044533ff37501b581 (diff) | |
download | pkgsrc-201771fef9fb6cd25ac6063f32c247c8aba1cf72.tar.gz |
Fix CPP hacks with strings containing linebreaks.
Very ugly hack (post-patch) to work around a RCS ID in area needing patch.
Diffstat (limited to 'graphics/fujiplay/Makefile')
-rw-r--r-- | graphics/fujiplay/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/graphics/fujiplay/Makefile b/graphics/fujiplay/Makefile index 57d03353cc5..1ac8bae1dd8 100644 --- a/graphics/fujiplay/Makefile +++ b/graphics/fujiplay/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2004/01/20 12:18:15 agc Exp $ +# $NetBSD: Makefile,v 1.7 2004/05/27 22:20:00 hubertf Exp $ # DISTNAME= fujiplay @@ -14,6 +14,14 @@ COMMENT= Download pictures from some Fujifilm digital cameras DIST_SUBDIR= fujiplay-1.33 WRKSRC= ${WRKDIR} +post-patch: + cd ${WRKSRC} ; ${MV} fujiplay.c fujiplay.c.orig2 ; \ + ${SED} \ + -e '791,794s/^/"/g' \ + -e '791,793s/$$/\\n"/' \ + -e '790,790s/".*$$//' \ + <fujiplay.c.orig2 >fujiplay.c + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/fujiplay ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/yycc2ppm ${PREFIX}/bin |