Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2013 02:58:59 GMT
From:      "r4721@tormail.org" <r4721@tormail.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/176903: [patch] fix graphics/gegl plist with jasper=off
Message-ID:  <201303130258.r2D2wx2r030395@red.freebsd.org>
Resent-Message-ID: <201303130300.r2D3007m081729@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         176903
>Category:       ports
>Synopsis:       [patch] fix graphics/gegl plist with jasper=off
>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:   Wed Mar 13 03:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     r4721@tormail.org
>Release:        
>Organization:
>Environment:
>Description:
the jasper option turns building of the jp2 module on/off, but plist always includes it. attached patch fixes.

====================<phase 7: make package>====================
===>  Building package for gegl-0.2.0_1
tar: lib/gegl-0.2/jp2-load.la: Cannot stat: No such file or directory
tar: lib/gegl-0.2/jp2-load.so: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
*** [do-package] Error code 1

Stop in /a/ports/graphics/gegl.
Deleting gegl-0.2.0_1
pkg_delete: file '/usr/local/lib/gegl-0.2/jp2-load.la' doesn't exist
pkg_delete: file '/usr/local/lib/gegl-0.2/jp2-load.so' doesn't exist
pkg_delete: couldn't entirely delete package `gegl-0.2.0_1'
(perhaps the packing list is incorrectly specified?)
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: graphics/gegl/pkg-plist
===================================================================
--- graphics/gegl/pkg-plist	(revision 314014)
+++ graphics/gegl/pkg-plist	(working copy)
@@ -160,8 +160,8 @@
 lib/gegl-%%GEGL_VER%%/introspect.so
 lib/gegl-%%GEGL_VER%%/invert.la
 lib/gegl-%%GEGL_VER%%/invert.so
-lib/gegl-%%GEGL_VER%%/jp2-load.la
-lib/gegl-%%GEGL_VER%%/jp2-load.so
+%%JP2%%lib/gegl-%%GEGL_VER%%/jp2-load.la
+%%JP2%%lib/gegl-%%GEGL_VER%%/jp2-load.so
 lib/gegl-%%GEGL_VER%%/layer.la
 lib/gegl-%%GEGL_VER%%/layer.so
 lib/gegl-%%GEGL_VER%%/lens-distortion.la


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303130258.r2D2wx2r030395>