ports/182583: graphics/dri: missing build dependency on devel/gettext

Pierre Guinoiseau pierre at guinoiseau.eu
Wed Oct 2 20:50:01 UTC 2013


>Number:         182583
>Category:       ports
>Synopsis:       graphics/dri: missing build dependency on devel/gettext
>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:   Wed Oct 02 20:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Pierre Guinoiseau <pierre at guinoiseau.eu>
>Release:        FreeBSD 9.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD alderaan.home.poildetroll.net 9.2-STABLE FreeBSD 9.2-STABLE #0 r255973: Tue Oct 1 19:05:05 CEST 2013 root at alderaan.home.poildetroll.net:/usr/obj/usr/src/sys/ALDERAAN amd64
>Description:
Building graphics/dri with poudriere and OPTIONS_UNSET=NLS in make.conf fails because gettext is missing:

    gmake[7]: Entering directory `/wrkdirs/usr/ports/graphics/dri/work/Mesa-9.1.6/src/mesa/drivers/dri/common/xmlpool'
    Updating (de) de/LC_MESSAGES/options.mo from de.po.
    Updating (es) es/LC_MESSAGES/options.mo from es.po.
    Updating (nl) nl/LC_MESSAGES/options.mo from nl.po.
    Updating (fr) fr/LC_MESSAGES/options.mo from fr.po.
    msgfmt: not found
    gmake[7]: msgfmt: not found
    *** [de/LC_MESSAGES/options.mo] Error 127
    gmake[7]: *** Waiting for unfinished jobs....
    gmake[7]: *** [es/LC_MESSAGES/options.mo] Error 127
    msgfmt: not found
    gmake[7]: *** [nl/LC_MESSAGES/options.mo] Error 127
    msgfmt: not found
    gmake[7]: *** [fr/LC_MESSAGES/options.mo] Error 127

This patch adds devel/gettext to build dependencies. Note that
USES=gettext:build has to be put after inclusion of
graphics/libGL/bsd.mesalib.mk, because the later overrides the USES variable.
Maybe graphics/libGL/bsd.mesalib.mk should be fixed too.
>How-To-Repeat:
Build graphics/dri with poudriere and OPTIONS_UNSET=NLS in make.conf.
>Fix:
--- graphics-dri-add-gettext-builddep.diff begins here ---
diff -ruN ../dri.orig/Makefile ./Makefile
--- ../dri.orig/Makefile        2013-09-29 19:01:41.000000000 +0200
+++ ./Makefile  2013-10-02 22:26:05.990244420 +0200
@@ -44,6 +44,8 @@
 NO_STAGE=      yes
 .include "${.CURDIR}/../../graphics/libGL/bsd.mesalib.mk"
 
+USES+= gettext:build
+
 PLIST_SUB+=    VERSION=${MESADISTVERSION}
 
 .if ${ARCH} == amd64 || ${ARCH} == i386
--- graphics-dri-add-gettext-builddep.diff ends here ---


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


More information about the freebsd-ports-bugs mailing list