From owner-freebsd-ports Sat Mar 30 14:20:46 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7E66737B427 for ; Sat, 30 Mar 2002 14:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2UMK1T72579; Sat, 30 Mar 2002 14:20:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7759E37B400 for ; Sat, 30 Mar 2002 14:12:58 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2UMCwQ71933; Sat, 30 Mar 2002 14:12:58 -0800 (PST) (envelope-from nobody) Message-Id: <200203302212.g2UMCwQ71933@freefall.freebsd.org> Date: Sat, 30 Mar 2002 14:12:58 -0800 (PST) From: KATO Tsuguru To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/36551: Update porte: graphics/libexif Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36551 >Category: ports >Synopsis: Update porte: graphics/libexif >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Mar 30 14:20:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.4-RELEASE i386 >Organization: >Environment: >Description: - Add BUILD_DEPENDS/RUN_DEPENDS to devel/pkgconfig - Support CFLAGS properly - Fix pkg-plist - Do not install useless .la file New file: files/patch-ltmain.sh Approved by maintainer. >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/libexif/Makefile graphics/libexif/Makefile --- /usr/ports/graphics/libexif/Makefile Sun Mar 31 03:34:25 2002 +++ graphics/libexif/Makefile Sun Mar 31 04:42:47 2002 @@ -7,15 +7,22 @@ PORTNAME= libexif PORTVERSION= 0.5.0 -PORTREVISION= +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR=libexif +MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= pschmied@qwest.net -INSTALLS_SHLIB= yes -HAS_CONFIGURE= yes -CONFIGURE_ARGS= # Intentionally blank +BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig +RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig + +GNU_CONFIGURE= yes +INSTALLS_SHLIB= yes + +post-patch: + @${PERL} -pi -e 's|-g -Wall||g' ${WRKSRC}/configure + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${PERL} -pi -e \ + 's|\$$\(libdir\)/pkgconfig|\$$\(prefix\)/libdata/pkgconfig|g' .include diff -urN /usr/ports/graphics/libexif/files/patch-ltmain.sh graphics/libexif/files/patch-ltmain.sh --- /usr/ports/graphics/libexif/files/patch-ltmain.sh Thu Jan 1 09:00:00 1970 +++ graphics/libexif/files/patch-ltmain.sh Sun Mar 31 04:02:16 2002 @@ -0,0 +1,15 @@ +--- ltmain.sh.orig Thu Jan 10 04:26:41 2002 ++++ ltmain.sh Sun Mar 31 04:02:01 2002 +@@ -4247,10 +4247,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff -urN /usr/ports/graphics/libexif/pkg-plist graphics/libexif/pkg-plist --- /usr/ports/graphics/libexif/pkg-plist Sun Mar 31 03:34:25 2002 +++ graphics/libexif/pkg-plist Sun Mar 31 04:35:47 2002 @@ -1,7 +1,3 @@ -lib/libexif.so.5 -lib/libexif.so -lib/libexif.la -lib/libexif.a include/libexif/exif-byte-order.h include/libexif/exif-content.h include/libexif/exif-data.h @@ -10,4 +6,8 @@ include/libexif/exif-result.h include/libexif/exif-tag.h include/libexif/exif-utils.h +lib/libexif.a +lib/libexif.so +lib/libexif.so.5 +libdata/pkgconfig/libexif.pc @dirrm include/libexif >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message