[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gambas-devel
Subject:    [Gambas-devel] [PATCH] don't link buildroot
From:       Dirk Mueller <dmuell () gmx ! net>
Date:       2005-07-10 14:51:01
Message-ID: 200507101651.03340.dmuell () gmx ! net
[Download RAW message or body]

Hi, 

there is an error in installation of the gambas2 symlink, which references the 
$(DESTDIR), and is therefore actually stale after buildroot installation. 

Below the patch to fix it (against 1.9.11), please apply. 


["fix_gambas2_install.patch" (text/x-diff)]

--- app/Makefile.am
+++ app/Makefile.am
@@ -18,7 +18,7 @@
 	  $(DESTDIR)$(bindir)/gbc$(GAMBAS_VERSION) -ag; \
$(DESTDIR)$(bindir)/gba$(GAMBAS_VERSION); rm -rf .gambas; $(INSTALL) $$p.gambas \
$(DESTDIR)$(bindir); done)  ##@if test "$(bindir)" != "$(ROOT)/usr/bin" && test \
"$(bindir)" != "$(ROOT)/usr/bin/"; then  @rm -f \
                $(ROOT)/usr/bin/gambas$(GAMBAS_VERSION)
-	@ln -s $(DESTDIR)$(bindir)/gambas$(GAMBAS_VERSION).gambas \
$(ROOT)/usr/bin/gambas$(GAMBAS_VERSION) +	@ln -s \
$(bindir)/gambas$(GAMBAS_VERSION).gambas $(ROOT)/usr/bin/gambas$(GAMBAS_VERSION)  
 uninstall-local:
 	@rm -f $(ROOT)/usr/bin/gambas$(GAMBAS_VERSION)


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Gambas-devel mailing list
Gambas-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic