Fix build on SunOS. Patches from Sebastian Wiedenroth.
This commit is contained in:
parent
8c0f6643b5
commit
207b5b095c
3 changed files with 22 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
17
graphics/exifprobe/patches/patch-Makefile
Normal file
17
graphics/exifprobe/patches/patch-Makefile
Normal file
|
@ -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
|
Loading…
Reference in a new issue