pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44908: Patch to fix compiling of x11/gtk2 on Linux



>Number:         44908
>Category:       pkg
>Synopsis:       Patch to fix compiling of x11/gtk2 on Linux
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 26 22:15:01 +0000 2011
>Originator:     Charles Rapenne
>Release:        2010-Q1
>Organization:
>Environment:
Linux midgar 2.6.33.4-smp #2 SMP Wed May 12 22:47:36 CDT 2010 i686 Intel(R) 
Xeon(R) CPU           E5420  @ 2.50GHz GenuineIntel GNU/Linux
>Description:
When I try to compile x11/gtk2 on Linux (i386), with 2010-Q1 or current I get 
this error :




if test -w .; then \
          (cd .; \
           db2html gtk-faq.sgml; \
           test -d html && rm -r html; \
           mv gtk-faq html); \
        fi
Using catalogs: /etc/sgml/catalog
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#html
Working on: /usr/pkgsrc/x11/gtk2/work/gtk+-2.24.3/docs/faq/gtk-faq.sgml
Done.
mv: cannot stat `gtk-faq': No such file or directory
make: *** [html] Error 1



I've made a patch to fix it, that's my first one so I hope it's well done.
>How-To-Repeat:
Compile x11/gtk2 on Linux. Maybe on others systems I haven't tried.
>Fix:
--- docs/faq/Makefile.am.orig   2011-04-26 23:55:20.015633444 +0200
+++ docs/faq/Makefile.am        2011-04-26 23:52:13.873880730 +0200
@@ -7,7 +7,7 @@
 html:
        if test -w $(srcdir); then \
          (cd $(srcdir); \
-          db2html gtk-faq.sgml; \
+          db2html gtk-faq.sgml -o gtk-faq; \
           test -d html && rm -r html; \
           mv gtk-faq html); \
        fi



Home | Main Index | Thread Index | Old Index