From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 27 03:40:04 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E645C1065677 for ; Mon, 27 Jun 2011 03:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BEDE18FC0A for ; Mon, 27 Jun 2011 03:40:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p5R3e3sJ024575 for ; Mon, 27 Jun 2011 03:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p5R3e3Ju024574; Mon, 27 Jun 2011 03:40:03 GMT (envelope-from gnats) Resent-Date: Mon, 27 Jun 2011 03:40:03 GMT Resent-Message-Id: <201106270340.p5R3e3Ju024574@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Pan Tsu Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D00F71065670 for ; Mon, 27 Jun 2011 03:37:51 +0000 (UTC) (envelope-from inyaoo@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 630D28FC19 for ; Mon, 27 Jun 2011 03:37:50 +0000 (UTC) Received: by ewy1 with SMTP id 1so2042500ewy.13 for ; Sun, 26 Jun 2011 20:37:50 -0700 (PDT) Received: by 10.14.11.37 with SMTP id 37mr3898140eew.21.1309145869730; Sun, 26 Jun 2011 20:37:49 -0700 (PDT) Received: from localhost (chomsky.torservers.net [77.247.181.162]) by mx.google.com with ESMTPS id v36sm3830220eea.17.2011.06.26.20.37.47 (version=SSLv3 cipher=OTHER); Sun, 26 Jun 2011 20:37:49 -0700 (PDT) Message-Id: <868vsoq70e.fsf@gmail.com> Date: Mon, 27 Jun 2011 07:37:37 +0400 From: Pan Tsu To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/158328: [patch] graphics/libjpeg-turbo: enable compat with graphics/jpeg X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2011 03:40:04 -0000 >Number: 158328 >Category: ports >Synopsis: [patch] graphics/libjpeg-turbo: enable compat with graphics/jpeg >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jun 27 03:40:03 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Pan Tsu >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: >Description: - switch API/ABI to v8 - chase SOVERSION of graphics/jpeg[1] - prune unnecessary autotools Most ports don't need rebuild. [1] it should avoid the need to touch libmap.conf(5) or do a sweeping change for ports that specify version, e.g. $ fgrep -lr jpeg.11: /usr/ports # to get a list >How-To-Repeat: $ cd www/firefox; make install $ cd graphics/jpeg; make deinstall $ cd graphics/libjpeg-turbo; make install $ firefox & alternatively $ cd graphics/libjpeg-turbo; make install $ cd www/firefox; make install $ firefox & >Fix: --- a.diff begins here --- Index: graphics/libjpeg-turbo/Makefile =================================================================== RCS file: /a/.cvsup/ports/graphics/libjpeg-turbo/Makefile,v retrieving revision 1.14 diff -u -p -r1.14 Makefile --- graphics/libjpeg-turbo/Makefile 21 Jun 2011 17:11:59 -0000 1.14 +++ graphics/libjpeg-turbo/Makefile 27 Jun 2011 03:13:59 -0000 @@ -18,10 +18,15 @@ BUILD_DEPENDS= nasm:${PORTSDIR}/devel/na CONFLICTS= jpeg-[0-9]* ONLY_FOR_ARCHS= amd64 i386 -USE_AUTOTOOLS= autoconf autoheader aclocal automake libtool -ACLOCAL_ARGS= -I. +USE_AUTOTOOLS= libtool +CONFIGURE_ENV= SO_MAJOR_VERSION=${SOVERSION} +CONFIGURE_ARGS= --with-jpeg8 USE_LDCONFIG= yes MAN1= cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1 +PLIST_SUB= SOVERSION=${SOVERSION} + +# chase graphics/jpeg +SOVERSION= 11 .include Index: graphics/libjpeg-turbo/pkg-plist =================================================================== RCS file: /a/.cvsup/ports/graphics/libjpeg-turbo/pkg-plist,v retrieving revision 1.3 diff -u -p -r1.3 pkg-plist --- graphics/libjpeg-turbo/pkg-plist 11 Mar 2011 15:11:06 -0000 1.3 +++ graphics/libjpeg-turbo/pkg-plist 27 Jun 2011 03:14:19 -0000 @@ -12,7 +12,7 @@ include/turbojpeg.h lib/libjpeg.a lib/libjpeg.la lib/libjpeg.so -lib/libjpeg.so.62 +lib/libjpeg.so.%%SOVERSION%% lib/libturbojpeg.a lib/libturbojpeg.la lib/libturbojpeg.so --- a.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: