hi, I was recently trying to create a tcng ebuild but unfortunately failed; so, can someone of you create such an ebuild? (because I had problems with the tcng's localize.sh script that he needs to install this) Reproducible: Always Steps to Reproduce: 1. create ebuild 2. emerge ebuild 3. watch and feel Actual Results: sandbox complained, or TCNG_TOPDIR wasn't set right (of course) Expected Results: a working ebuild
Created attachment 12684 [details] sys-apps/tcng-9e.ebuild: this is my ebuild trial the little diff below is the required patch by the ebuild I posted; however, localize.sh is still evil :( --- Makefile.orig 2003-06-02 15:55:38.000000000 +0200 +++ Makefile 2003-06-02 16:01:18.000000000 +0200 @@ -324,9 +324,8 @@ install-tcc: tcc check-install-dir scripts/localize.sh ln -sf scripts/localize.sh . tar cfh - $(TCC_BINDIST) | \ - (cd $(INSTALL_DIR) && tar xf -) - cd $(INSTALL_DIR) && ./localize.sh - rm -f localize.sh $(INSTALL_DIR)/localize.sh + (cd $(DESTDIR)$(INSTALL_DIR) && tar xf -) + rm -f localize.sh $(DESTDIR)$(INSTALL_DIR)/localize.sh install-tcsim: tcsim check-install-dir scripts/localize.sh ln -sf scripts/localize.sh .
Created attachment 12685 [details] sys-apps/tcng-9e.ebuild, this is my ebuild trial the little diff below is the required patch by the ebuild I posted; however, localize.sh is still evil :( |--- Makefile.orig 2003-06-02 15:55:38.000000000 +0200 |+++ Makefile 2003-06-02 16:01:18.000000000 +0200 @@ -324,9 +324,8 @@ install-tcc: tcc check-install-dir scripts/localize.sh ln -sf scripts/localize.sh . tar cfh - $(TCC_BINDIST) | \ - (cd $(INSTALL_DIR) && tar xf -) - cd $(INSTALL_DIR) && ./localize.sh - rm -f localize.sh $(INSTALL_DIR)/localize.sh + (cd $(DESTDIR)$(INSTALL_DIR) && tar xf -) + rm -f localize.sh $(DESTDIR)$(INSTALL_DIR)/localize.sh install-tcsim: tcsim check-install-dir scripts/localize.sh ln -sf scripts/localize.sh .
Created attachment 12686 [details] sys-apps/tcng-9e.ebuild, this is my ebuild trial
Created attachment 12687 [details] this is my ebuild trial the little diff below is the required patch by the ebuild I posted; however, localize.sh is still evil :( --- Makefile.orig 2003-06-02 15:55:38.000000000 +0200 +++ Makefile 2003-06-02 16:01:18.000000000 +0200 @@ -324,9 +324,8 @@ install-tcc: tcc check-install-dir scripts/localize.sh ln -sf scripts/localize.sh . tar cfh - $(TCC_BINDIST) | \ - (cd $(INSTALL_DIR) && tar xf -) - cd $(INSTALL_DIR) && ./localize.sh - rm -f localize.sh $(INSTALL_DIR)/localize.sh + (cd $(DESTDIR)$(INSTALL_DIR) && tar xf -) + rm -f localize.sh $(DESTDIR)$(INSTALL_DIR)/localize.sh install-tcsim: tcsim check-install-dir scripts/localize.sh ln -sf scripts/localize.sh .
In cvs now, after i modified your ebuild heavily. sys-apps/tcng