Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 May 2005 12:21:04 GMT
From:      Björn König <bkoenig@cs.tu-berlin.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/81152: graphics/gimp with option WITHOUT_MNG has incomplete package list
Message-ID:  <200505171221.j4HCL4W0038627@www.freebsd.org>
Resent-Message-ID: <200505171230.j4HCU2Cw080280@freefall.freebsd.org>

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

>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:



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