Fri Jan 13 10:48:36 2023 UTC ()
jpeginfo: append the -o flag explicitely in upstream Makefile.

This fixes the build with older versions of make, such as the one used
in NetBSD 9.


(fcambus)
diff -r1.9 -r1.10 pkgsrc/graphics/jpeginfo/distinfo
diff -r1.3 -r1.4 pkgsrc/graphics/jpeginfo/patches/patch-aa

cvs diff -r1.9 -r1.10 pkgsrc/graphics/jpeginfo/distinfo (expand / switch to unified diff)

--- pkgsrc/graphics/jpeginfo/distinfo 2023/01/09 20:08:28 1.9
+++ pkgsrc/graphics/jpeginfo/distinfo 2023/01/13 10:48:36 1.10
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.9 2023/01/09 20:08:28 fcambus Exp $ 1$NetBSD: distinfo,v 1.10 2023/01/13 10:48:36 fcambus Exp $
2 2
3BLAKE2s (jpeginfo-1.6.2.tar.gz) = 93df0f6120937a1dc9780e44750e32b3e23e50bf310881d709a6ef39ce543909 3BLAKE2s (jpeginfo-1.6.2.tar.gz) = 93df0f6120937a1dc9780e44750e32b3e23e50bf310881d709a6ef39ce543909
4SHA512 (jpeginfo-1.6.2.tar.gz) = a077f2273fc96604796e3a922fea6b3761ae97fec22bd9dd26b766bed28334d54105d783e793e41e8dbfd1a27d5a6a0636f146ffa89528f7613f4cbe9358d9ac 4SHA512 (jpeginfo-1.6.2.tar.gz) = a077f2273fc96604796e3a922fea6b3761ae97fec22bd9dd26b766bed28334d54105d783e793e41e8dbfd1a27d5a6a0636f146ffa89528f7613f4cbe9358d9ac
5Size (jpeginfo-1.6.2.tar.gz) = 93323 bytes 5Size (jpeginfo-1.6.2.tar.gz) = 93323 bytes
6SHA1 (patch-aa) = c7926744637b3810bba5a9e817ac4959cdab21af 6SHA1 (patch-aa) = 6c3ad29fc0dfffa55a3155f32abc58cd343bdfa5

cvs diff -r1.3 -r1.4 pkgsrc/graphics/jpeginfo/patches/patch-aa (expand / switch to unified diff)

--- pkgsrc/graphics/jpeginfo/patches/patch-aa 2016/04/01 13:05:37 1.3
+++ pkgsrc/graphics/jpeginfo/patches/patch-aa 2023/01/13 10:48:36 1.4
@@ -1,17 +1,29 @@ @@ -1,17 +1,29 @@
1$NetBSD: patch-aa,v 1.3 2016/04/01 13:05:37 jperkin Exp $ 1$NetBSD: patch-aa,v 1.4 2023/01/13 10:48:36 fcambus Exp $
2 2
3Use PKGMANDIR. 3- Use PKGMANDIR.
 4- Append -o flag explicitely, this fixes the build with older versions
 5 of make, such as the one used in NetBSD 9.
4 6
5--- Makefile.in.orig 2002-12-07 22:13:21.000000000 +0000 7--- Makefile.in.orig 2023-01-08 06:33:16.000000000 +0000
6+++ Makefile.in 8+++ Makefile.in
7@@ -26,8 +26,9 @@ libdir = $(prefix)/lib 9@@ -26,8 +26,9 @@ libdir = $(prefix)/lib
8 infodir = $(prefix)/share/info 10 infodir = $(prefix)/share/info
9  11
10 # Where to put the manual pages. 12 # Where to put the manual pages.
11-mandir = $(prefix)/share/man 13-mandir = $(prefix)/share/man
12+mandir = $(prefix)/${PKGMANDIR} 14+mandir = $(prefix)/${PKGMANDIR}
13  15
14+INSTALL_ROOT= $(DESTDIR) 16+INSTALL_ROOT= $(DESTDIR)
15  17
16  18
17 CC = @CC@  19 CC = @CC@
 20@@ -54,6 +55,9 @@ DISTNAME = $(PKGNAME)-$(Version)
 21
 22 OBJS = $(PKGNAME).o misc.o @GNUGETOPT@ md5.o sha256/hash.o sha256/blocks.o
 23
 24+.c.o:
 25+ $(CC) $(CFLAGS) -o $@ -c $<
 26+
 27 $(PKGNAME): $(OBJS)
 28 $(CC) $(CFLAGS) -o $(PKGNAME) $(OBJS) $(LDFLAGS) $(LIBS)
 29