pkgsrc/graphics/fly/patches/patch-am
jmmv 78727c1589 Avoid hardcoding /usr/pkg in patch files, using REPLACE_PERL to fix perl
location in scripts.
Add dependancy on perl, so installed scripts work.
Bump PKGREVISION to 3.
2003-06-06 21:27:17 +00:00

15 lines
382 B
Text

$NetBSD: patch-am,v 1.2 2003/06/06 21:27:18 jmmv Exp $
--- examples/cgi-perl-example.pl.orig 1999-01-14 23:37:31.000000000 +0100
+++ examples/cgi-perl-example.pl
@@ -1,8 +1,8 @@
#!/usr/local/bin/perl
-print "Content-type: image/gif\n\n";
+print "Content-type: image/png\n\n";
-$flyprog = "/usr/local/web/bin/fly";
+$flyprog = "@PREFIX@/bin/fly";
$infile = "/tmp/fly.$$";