diff --git a/graphics/exifprobe/Makefile b/graphics/exifprobe/Makefile index c7e6a67ee66c..8e2995b7333d 100644 --- a/graphics/exifprobe/Makefile +++ b/graphics/exifprobe/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2012/10/06 14:10:48 asau Exp $ +# $NetBSD: Makefile,v 1.5 2013/12/10 11:41:42 jperkin Exp $ # DISTNAME= exifprobe-2.0.1 @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.virtual-cafe.com/~dhh/tools.d/exifprobe.d/exifprobe.html COMMENT= EXIF data extractor +CFLAGS.SunOS+= -Du_int32_t=uint32_t + INSTALL_MAKE_FLAGS+= BINDIR=${DESTDIR}${PREFIX}/bin \ MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 diff --git a/graphics/exifprobe/distinfo b/graphics/exifprobe/distinfo index 990925a901f2..8bc5ee69b0b6 100644 --- a/graphics/exifprobe/distinfo +++ b/graphics/exifprobe/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.1.1.1 2005/10/21 17:17:08 drochner Exp $ +$NetBSD: distinfo,v 1.2 2013/12/10 11:41:42 jperkin Exp $ SHA1 (exifprobe-2.0.1.tar.gz) = 0910855c4060b3f706d8a455c388fe6690012c51 RMD160 (exifprobe-2.0.1.tar.gz) = 8061819118ac34e542561813c8de025f6dcdf901 Size (exifprobe-2.0.1.tar.gz) = 261568 bytes +SHA1 (patch-Makefile) = 1f846256b198ce0b2a9418111fe0a6fab773bc67 SHA1 (patch-aa) = 40e6d887505790de6d4e57c66298534e0e130fa3 diff --git a/graphics/exifprobe/patches/patch-Makefile b/graphics/exifprobe/patches/patch-Makefile new file mode 100644 index 000000000000..34f60d4f0e2f --- /dev/null +++ b/graphics/exifprobe/patches/patch-Makefile @@ -0,0 +1,17 @@ +$NetBSD: patch-Makefile,v 1.1 2013/12/10 11:41:43 jperkin Exp $ + +Use compiler wrapper and support additional CFLAGS. + +--- Makefile.orig 2005-07-25 22:15:49.000000000 +0000 ++++ Makefile +@@ -2,8 +2,8 @@ + # Makefile for EXIFPROBE image file probe + + # Any compiler should do +-CC=cc +-CFLAGS=-DCOLOR -O ++#CC=cc ++CFLAGS+=-DCOLOR + + # You probably don't need these + # CFLAGS=-DCOLOR -g -O -Dlint -Wall -Wno-long-long