Bug 176903 - [patch] fix graphics/gegl plist with jasper=off
Summary: [patch] fix graphics/gegl plist with jasper=off
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-13 03:00 UTC by r4721@tormail.org
Modified: 2013-03-20 03:10 UTC (History)
0 users

See Also:


Attachments
file.diff (570 bytes, patch)
2013-03-13 03:00 UTC, r4721@tormail.org
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description r4721@tormail.org 2013-03-13 03:00:00 UTC
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?)

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-13 03:00:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jeremy Messenger freebsd_committer freebsd_triage 2013-03-20 02:59:53 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-03-20 02:59:55 UTC
Author: mezz
Date: Wed Mar 20 02:59:46 2013
New Revision: 314707
URL: http://svnweb.freebsd.org/changeset/ports/314707

Log:
  Fix the plist when Jasper disabled.
  
  PR:		ports/176903
  Submitted by:	r4721@tormail.org (no name, just email in PR)

Modified:
  head/graphics/gegl/pkg-plist

Modified: head/graphics/gegl/pkg-plist
==============================================================================
--- head/graphics/gegl/pkg-plist	Wed Mar 20 02:39:49 2013	(r314706)
+++ head/graphics/gegl/pkg-plist	Wed Mar 20 02:59:46 2013	(r314707)
@@ -160,8 +160,8 @@ lib/gegl-%%GEGL_VER%%/introspect.la
 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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"