gar.lib.mk patch

Peter <[email protected]>
Newsgroups gmane.comp.gnome.garnome
Message-ID <[email protected]>
When users use system versions of libtool or intltoolize, garnome builds fail
because of incorrect logic. This patch corrects this problem:

--- gar.lib.mk.old      2007-01-25 14:26:05.000000000 -0500
+++ gar.lib.mk  2007-01-25 14:26:54.000000000 -0500
@@ -305,9 +305,9 @@
 fixup-%/intltool:
        @echo " ==> Re-intltoolizing $*"
        @if which intltoolize > /dev/null; then \
-                       INTLTOOLIZE=$(bindir)/intltoolize; \
+                       INTLTOOLIZE=$(shell which intltoolize); \
                else \
-                       INTLTOOLIZE=$(shell which intltoolize > /dev/null 2>&1);                                             
 \
+                       INTLTOOLIZE=$(bindir)/intltoolize; \
                fi; \
        cd $* && $$INTLTOOLIZE --copy --force
        @if test -z $?; then $(MAKECOOKIE); fi
@@ -315,9 +315,9 @@
 fixup-%/libtool:
        @echo " ==> Re-libtoolizing $*"
        @if which libtoolize > /dev/null; then \
-                       LIBTOOLIZE=$(bindir)/libtoolize; \
+                       LIBTOOLIZE=$(shell which libtoolize); \
                else \
-                       LIBTOOLIZE=$(shell which libtoolize > /dev/null 2>&1); \
+                       LIBTOOLIZE=$(bindir)/libtoolize; \
                fi; \
        cd $* && $$LIBTOOLIZE --copy --force
        @if test -z $?; then $(MAKECOOKIE); fi


-- 
Peter

-- 
garnome-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/garnome-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.