misc/81152: graphics/gimp with option WITHOUT_MNG has incomplete package list

Björn König bkoenig at cs.tu-berlin.de
Tue May 17 12:30:07 GMT 2005


>Number:         81152
>Category:       misc
>Synopsis:       graphics/gimp with option WITHOUT_MNG has incomplete package list
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 17 12:30:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Björn König
>Release:        
>Organization:
N/A
>Environment:
>Description:
      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.

>How-To-Repeat:
# cd graphics/gimp
# make -DWITHOUT_MNG package

>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

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


More information about the freebsd-bugs mailing list