ports/185278: [patch] update graphic/exiv2 to 0.24
Matthieu Volat
mazhe at alkumuna.eu
Sun Dec 29 22:30:01 UTC 2013
>Number: 185278
>Category: ports
>Synopsis: [patch] update graphic/exiv2 to 0.24
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Dec 29 22:30:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Matthieu Volat
>Release: 10.0-RC3
>Organization:
>Environment:
>Description:
exiv2 0.24 was released at the begining of the month, and helps recognizing many new lenses and such.
here is a patch to update the port to the new version. I tried the cmake version (which would work without gmake), but as it does not produce static libs, I stayed with the gnu autotools/gmake version.
>How-To-Repeat:
>Fix:
Path (shar archive with Makefile, distfile, and a patch) enclosed.
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# Makefile
# distinfo
# files/patch-configure
#
echo x - Makefile
sed 's/^X//' >Makefile << 'b67911656ef5d18c4ae36cb6741b7965'
X# Created by: Michael Johnson <ahze at ahze.net>
X# $FreeBSD: graphics/exiv2/Makefile 330812 2013-10-19 00:27:47Z bapt $
X
XPORTNAME= exiv2
XPORTVERSION= 0.24
XPORTREVISION= 0
XPORTEPOCH= 1
XCATEGORIES= graphics
XMASTER_SITES= http://www.exiv2.org/
X
XMAINTAINER= multimedia at FreeBSD.org
XCOMMENT= Exif and Iptc metadata manipulation library and tools
X
XLIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
X
XGNU_CONFIGURE= yes
XUSES= gettext gmake
XUSE_LDCONFIG= yes
XALLTARGET= all
XCPPFLAGS+= -I${LOCALBASE}/include
XLDFLAGS+= -L${LOCALBASE}/lib
X
Xpost-patch:
X @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
X @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' ${WRKSRC}/src/Makefile
X
Xpost-install:
X ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/exiv2
X ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libexiv2.so.13
X
X
X.include <bsd.port.mk>
b67911656ef5d18c4ae36cb6741b7965
echo x - distinfo
sed 's/^X//' >distinfo << '57677d168a5ec21bdf22c9501f075a8f'
XSHA256 (exiv2-0.24.tar.gz) = f4a443e6c7fb9d9f5e787732f76969a64c72c4c04af69b10ed57f949c2dfef8e
XSIZE (exiv2-0.24.tar.gz) = 4635028
57677d168a5ec21bdf22c9501f075a8f
echo x - files/patch-configure
sed 's/^X//' >files/patch-configure << '5cae8e2426c154e1c1a4408c02b2ed73'
X--- configure.orig 2013-12-29 22:56:14.349951548 +0100
X+++ configure 2013-12-29 22:56:04.517950372 +0100
X@@ -17069,7 +17069,7 @@
X case "$host_os" in
X *mingw* | *cygwin*)
X LDFLAGS="$LDFLAGS -no-undefined -lpsapi" ;;
X-*)
X+linux*)
X LDFLAGS="$LDFLAGS -ldl" ;;
X esac
X
5cae8e2426c154e1c1a4408c02b2ed73
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list