summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-12-10 11:41:42 +0000
committerjperkin <jperkin@pkgsrc.org>2013-12-10 11:41:42 +0000
commit207b5b095ce08963eecfbb95358834949f6dea6f (patch)
treee4568589ed4fb7d740284cf62b4a05c5cc3143b9 /graphics
parent8c0f6643b55ec62946c569ec101308eba808d980 (diff)
downloadpkgsrc-207b5b095ce08963eecfbb95358834949f6dea6f.tar.gz
Fix build on SunOS. Patches from Sebastian Wiedenroth.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/exifprobe/Makefile4
-rw-r--r--graphics/exifprobe/distinfo3
-rw-r--r--graphics/exifprobe/patches/patch-Makefile17
3 files changed, 22 insertions, 2 deletions
diff --git a/graphics/exifprobe/Makefile b/graphics/exifprobe/Makefile
index c7e6a67ee66..8e2995b7333 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 990925a901f..8bc5ee69b0b 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 00000000000..34f60d4f0e2
--- /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