Bug 81152 - graphics/gimp with option WITHOUT_MNG has incomplete package list
Summary: graphics/gimp with option WITHOUT_MNG has incomplete package list
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-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-17 13:30 UTC by Björn König
Modified: 2005-05-17 19:55 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Björn König 2005-05-17 13:30:02 UTC
      You'll get an incomplete package list of the port 'graphics/gimp' if you build it with option WITHOUT_MNG, because libcdisplay_proof.so was not compiled. The port 'graphics/libmng' would normally install 'graphics/lcms', but this doesn't happen now.

In this case ./configure of gimp says:

  checking for cmsCreate_sRGBProfile in -llcms... no
  configure: WARNING: *** color proof module will not be built (lcms not found or unuseable) ***

If you want to build a package then this will result in an error  because of the incomplete package list.

Fix: 

if defined(WITHOUT_MNG) then add 'graphics/lcms' to LIB_DEPENDS, e.g.:

.if defined(WITHOUT_MNG)
LIB_DEPENDS+=           lcms.1:${PORTSDIR}/graphics/lcms
CONFIGURE_ARGS+=        --without-libmng
PLIST_SUB+=             MNG="@comment "
.else
LIB_DEPENDS+=           mng.1:${PORTSDIR}/graphics/libmng
PLIST_SUB+=             MNG=""
.endif
How-To-Repeat: # cd graphics/gimp
# make -DWITHOUT_MNG package
Comment 1 Giorgos Keramidas freebsd_committer freebsd_triage 2005-05-17 19:27:47 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-ports-bugs

Refile under the correct category.
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2005-05-17 19:52:19 UTC
State Changed
From-To: open->closed

Committed, thanks!