Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Aug 2013 11:04:55 GMT
From:      Jan Henrik Sylvester <me@janh.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/181013: [PATCH] graphics/ufraw build failure after glib update
Message-ID:  <201308041104.r74B4tVS092238@oldred.freebsd.org>
Resent-Message-ID: <201308041110.r74BA03A024964@freefall.freebsd.org>

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

>Number:         181013
>Category:       ports
>Synopsis:       [PATCH] graphics/ufraw build failure after glib update
>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:   Sun Aug 04 11:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jan Henrik Sylvester
>Release:        9.1-RELEASE amd64
>Organization:
>Environment:
>Description:
After the latest glib update, graphics/ufraw does not build, because ${LOCALBASE}/share/glib-2.0/gettext/mkinstalldirs does not exist anymore.

On my system, I found the same version here: ${LOCALBASE}/share/automake-1.14/mkinstalldirs

Since automake-1.14 is not a build dependency of graphics/ufraw, but icu-50.1.2 is, I tried this version: ${LOCALBASE}/share/icu/50.1.2/mkinstalldirs

${LOCALBASE}/share/icu/50.1.2/mkinstalldirs is almost identical to ${LOCALBASE}/share/automake-1.4/mkinstalldirs, which comes with automake-1.4.6_6 and which seems to be enough for graphics/ufraw to build.

Of course, these path' are all very version dependent.
>How-To-Repeat:
make -C /usr/ports/graphics/ufraw/
>Fix:
Use some different version of mkinstalldirs, for example the one from icu-50.1.2, which already is a build dependency.

Patch attached with submission follows:

--- graphics/ufraw/Makefile.orig	2013-05-20 07:50:28.000000000 +0000
+++ graphics/ufraw/Makefile	2013-08-04 10:27:58.000000000 +0000
@@ -104,7 +104,7 @@
 .endfor
 
 pre-build:
-	@${INSTALL_SCRIPT} ${LOCALBASE}/share/glib-2.0/gettext/mkinstalldirs \
+	@${INSTALL_SCRIPT} ${LOCALBASE}/share/icu/50.1.2/mkinstalldirs \
 		${WRKSRC}
 
 post-install:


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



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