Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32126 - gcal places manual pages in wrong directory
Summary: gcal places manual pages in wrong directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-27 14:16 UTC by Martin Lambers
Modified: 2004-10-22 16:52 UTC (History)
1 user (show)

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


Attachments
Seperates $(manext) from $(mandir) (gcal-3.01-mandir.diff,1.48 KB, patch)
2003-10-27 17:29 UTC, Doug Weimer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Lambers 2003-10-27 14:16:57 UTC
gcal-3.01-r1 places its manual pages in /usr/share/man instead of
/usr/share/man/man1, so the man command cannot find them.
qpkg -l app-misc/gcal:
[...]
/usr/share/man/gcal.1.gz
/usr/share/man/txt2gcal.1.gz
/usr/share/man/gcal2txt.1.gz
/usr/share/man/tcal.1.gz
[...]

Reproducible: Always
Steps to Reproduce:
1. emerge app-misc/gcal
2. ls -la /usr/share/man

Actual Results:  
man pages are in /usr/share/man

Expected Results:  
should be in /usr/share/man/man1

Suggestion: Add --mandir=DIR option to the econf line 17 in
app-misc/gcal-3.01-r1.ebuild?

emerge --info (don't know why you would need it, but since you ask for it...):

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22)
=================================================================
System uname: 2.4.22 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://ftp.fhh.opensource-mirror.de/pub/gentoo.org/ http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 oss apm foomaticdb libg++ mad mikmod ncurses pdflib spell gtkhtml gdbm
berkdb arts bonobo svga sdl gpm libwww python esd imlib gtk motif 3dnow apache2
avi cdr crypt cups doc dvd emacs encode gif gnome gtk2 ipv6 java jpeg kde lirc
mbox mmx mozilla mpeg nls oggvorbis opengl pam ppds pdf perl png qt quicktime
readline sasl scanner slang socks5 ssl tcltk tcpd tetex tiff truetype usb videos
wmf X xml2 xmms xv zlib"
Comment 1 Doug Weimer 2003-10-27 17:29:57 UTC
Created attachment 19875 [details, diff]
Seperates $(manext) from $(mandir)

einstall already supplies a mandir directive; however, the gcal makefile
expects $(mandir) to include the man1 directory as well. The attached patch
seperates the man1 extension from the mandir variable so that things work
correctly with einstall.
Comment 2 Mike Gardiner (RETIRED) gentoo-dev 2003-10-29 02:45:17 UTC
not a gnome package.
Comment 3 Aaron Walker (RETIRED) gentoo-dev 2004-10-22 16:52:18 UTC
Fixed.  Thanks guys.