Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Nov 1999 12:28:54 -0700
From:      Wes Peters <wes@softweyr.com>
To:        Kris Kennaway <kris@hub.freebsd.org>
Cc:        andrew@ugh.net.au, "Daniel O'Connor" <doconnor@gsoft.com.au>, hackers@freebsd.org
Subject:   Re: Making a port kit
Message-ID:  <3836F676.CB4D2D9F@softweyr.com>
References:  <Pine.BSF.4.21.9911191511190.44918-100000@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway wrote:
> 
> On Fri, 19 Nov 1999, Wes Peters wrote:
> 
> > Actually, taking the MAN8= line out of the port Makefile fixed the problem.
> > Thanks for the hints.
> 
> You need to have manpages referenced by MAN? variables instead of just
> installed directly: the reason is that they may or may not be compressed
> at the time the package is deinstalled, and so you get left with manpage
> turds in the filesystem.
> 
> Didn't someone already point out your problem was just a mistyped path?

Nope, and it seems difficult to have a mistyped path when you don't have
any paths anywhere.  The only paths are in the obliterate makefile:

~~~~~~~~~~~~~~~ snip ~~~~~~~~~~~~~~~~
CFLAGS=         -g
PROG=           obliterate
SRCS=           obliterate.c
MAN8=           obliterate.8
BINDIR=         ${PREFIX}/bin
MANDIR=         ${PREFIX}/man

.include <bsd.prog.mk>
~~~~~~~~~~~~~~~ snip ~~~~~~~~~~~~~~~~

Which part of MANDIR did I misspell, the "m", "a", or "n"?

The real problem came from having MAN8= sections in BOTH Makefiles, the
one in the obliterate tarball and the port Makefile.

-- 
            "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                         Softweyr LLC
wes@softweyr.com                                           http://softweyr.com/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3836F676.CB4D2D9F>