Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Apr 2012 13:04:32 GMT
From:      Bojan Petrovic <bojan_petrovic@fastmail.fm>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/166722: graphics/ufraw: port fails to build if "GTK" option is disabled and x11-toolkits/gtkimageview port is not installed
Message-ID:  <201204071304.q37D4WuB023219@red.freebsd.org>
Resent-Message-ID: <201204071310.q37DA1eG005057@freefall.freebsd.org>

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

>Number:         166722
>Category:       ports
>Synopsis:       graphics/ufraw: port fails to build if "GTK" option is disabled and x11-toolkits/gtkimageview port is not installed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 07 13:10:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Bojan Petrovic
>Release:        8.2-RELEASE
>Organization:
>Environment:
>Description:
Configuration step fails when building graphics/ufraw port with "GTK" option disabled, if x11-toolkits/gtkimageview port is not installed.
>How-To-Repeat:
Uninstall x11-toolkits/gtkimageview, configure the graphics/ufraw port with "GTK" option disabled, and try to build the port.
>Fix:
Explicitly disable GTK support with "--with-gtk=no" configure switch.

Patch attached with submission follows:

--- Makefile	2012/04/07 12:48:25	1.1
+++ Makefile	2012/04/07 12:50:07
@@ -80,6 +80,8 @@
 .if defined(WITH_GTK)
 LIB_DEPENDS+=	gtkimageview.0:${PORTSDIR}/x11-toolkits/gtkimageview
 PLIST_FILES+=	bin/ufraw
+.else
+CONFIGURE_ARGS+= --with-gtk=no
 .endif
 
 .if defined(WITH_GNOME)


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



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