View previous topic :: View next topic |
Author |
Message |
active Apprentice
Joined: 23 Jun 2003 Posts: 228 Location: Something not a structure or union
|
Posted: Fri Sep 19, 2003 4:41 pm Post subject: cdlabelgen: ebuild sbagliato? |
|
|
Salve, eccomi al primo post
Mi e' capitato di installare cdlabelgen 2.6.1 e di notare che dopo venire patchato il Makefile:
1) non installa l'eseguibile
2) installa la manpage nella dir sbagliata (/usr/share/man invece che /usr/share/man1)
volevo sapere se qualcun'altro aveva notato questo, se e' normale o un bug dell'ebuild.
Io mi sono "permesso" di cambiare la patch e di seguito incollo quella guista:
( /usr/portage/app-cdr/cdlabelgen/files/makefile.patch-2.6.1 )
Code: |
diff -Naur cdlabelgen-2.6.1.old/Makefile cdlabelgen-2.6.1/Makefile
--- cdlabelgen-2.6.1.old/Makefile 2003-09-19 20:15:23.000000000 +0200
+++ cdlabelgen-2.6.1/Makefile 2003-09-19 20:26:41.000000000 +0200
@@ -8,12 +8,12 @@
# Change these to locations you need, also
# remember to edit cdlabelgen and its @where_is_the_template as needed.
-BASE_DIR = /usr/local
+BASE_DIR = $(DESTDIR)/usr
# BASE_DIR = /usr/local
# BASE_DIR = /opt
BIN_DIR = $(BASE_DIR)/bin
-LIB_DIR = $(BASE_DIR)/lib/cdlabelgen
-MAN_DIR = $(BASE_DIR)/man
+LIB_DIR = $(BASE_DIR)/share/cdlabelgen
+MAN_DIR = $(BASE_DIR)/share/man/man1
SOURCES = cdlabelgen ChangeLog INSTALL README Makefile cdinsert.pl INSTALL.WEB cdlabelgen.pod cdlabelgen.1 cdlabelgen.html cdlabelgen$(VERSION).spec
POSTSCRIPT = template.ps *.eps
DISTFILES = $(SOURCES) $(POSTSCRIPT)
@@ -45,7 +45,8 @@
@echo ""
$(INSTALL_DIR) $(BIN_DIR)
$(INSTALL) cdlabelgen $(BIN_DIR)
- $(INSTALL) cdlabelgen.1 $(MAN_DIR)/man1
+ $(INSTALL_DIR) $(MAN_DIR)
+ $(INSTALL) cdlabelgen.1 $(MAN_DIR)
$(INSTALL_DIR) $(LIB_DIR)
set -e; \
for file in $(POSTSCRIPT); do \
|
Se fosse gia' stato postato un topic riguardo a questo vi prego di scusarmi _________________ GIT d- s:+>: a-- C+++ UBS+++ P++ L+++
E--- W+ N+ w M- PS+(++) PE PGP+ !t
X++ tv+ b++ D+ G e h! r++ x* |
|
Back to top |
|
|
cerri Bodhisattva
Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Fri Sep 19, 2003 7:56 pm Post subject: |
|
|
Prova a postare un bug report su bugs.gentoo.org. _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
|
active Apprentice
Joined: 23 Jun 2003 Posts: 228 Location: Something not a structure or union
|
Posted: Sat Sep 20, 2003 8:26 am Post subject: |
|
|
Problema: la patch sopra riportata non dovrebbe funzionare con il package scaricato dai server di gentoo.
La patch giusta la si puo' trovare su:
https://bugs.gentoo.org/show_bug.cgi?id=29174 _________________ GIT d- s:+>: a-- C+++ UBS+++ P++ L+++
E--- W+ N+ w M- PS+(++) PE PGP+ !t
X++ tv+ b++ D+ G e h! r++ x* |
|
Back to top |
|
|
|