Bug 169046 - [patch] fix packing list error in graphics/ImageMagick
Summary: [patch] fix packing list error in graphics/ImageMagick
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: Martin Matuska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-14 04:30 UTC by 4721@hushmail.com
Modified: 2012-06-19 13:30 UTC (History)
0 users

See Also:


Attachments
file.diff (1.06 KB, patch)
2012-06-14 04:30 UTC, 4721@hushmail.com
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description 4721@hushmail.com 2012-06-14 04:30:04 UTC
graphics/ImageMagick unconditonally attempts to remove some module directories, even when modules option is not on which causes some packing list problems.

pkg_delete: file '/usr/local/lib/ImageMagick-6.7.7/modules-Q16/filters' doesn't exist
pkg_delete: unable to completely remove directory '/usr/local/lib/ImageMagick-6.7.7/modules-Q16/filters'
pkg_delete: file '/usr/local/lib/ImageMagick-6.7.7/modules-Q16/coders' doesn't exist
pkg_delete: unable to completely remove directory '/usr/local/lib/ImageMagick-6.7.7/modules-Q16/coders'
pkg_delete: file '/usr/local/lib/ImageMagick-6.7.7/modules-Q16' doesn't exist
pkg_delete: unable to completely remove directory '/usr/local/lib/ImageMagick-6.7.7/modules-Q16'
pkg_delete: couldn't entirely delete package `ImageMagick-6.7.7.7'
(perhaps the packing list is incorrectly specified?)

Fix: attached patch conditionalizes the directory removal.

Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-06-14 21:07:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mm

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-06-19 13:26:54 UTC
mm          2012-06-19 12:26:40 UTC

  FreeBSD ports repository

  Modified files:
    graphics/ImageMagick Makefile pkg-plist 
  Log:
  Only try to delete the module directories (they may not get created).
  
  PR:             ports/169046
  
  Revision  Changes    Path
  1.352     +1 -1      ports/graphics/ImageMagick/Makefile
  1.149     +5 -5      ports/graphics/ImageMagick/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Martin Matuska freebsd_committer freebsd_triage 2012-06-19 13:27:11 UTC
State Changed
From-To: open->closed

Directories changed to dirrmtry. Should be OK now.