Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29174 - cdlabelgen 2.6.1 wrong makefile-patch
Summary: cdlabelgen 2.6.1 wrong makefile-patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Highest major (vote)
Assignee: Chuck Short (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-20 01:23 UTC by Piacentini Leonardo
Modified: 2003-09-22 15:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piacentini Leonardo 2003-09-20 01:23:07 UTC
There are 2 problems with 'makefile.patch-2.6.1' for cdlabelgen v. 2.6.1:
1) it doesn't install the executable
2) it installs manpage in the wrong dir, /usr/share/man instead of
/usr/share/man/man1

The file is: /usr/portage/app-cdr/cdlabelgen/files/makefile.patch-2.6.1

This is the right patch (WORKS FOR ME):

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 \
Comment 1 Chuck Short (RETIRED) gentoo-dev 2003-09-22 15:31:56 UTC
Fixed in cvs thanks for the bug report.