From owner-freebsd-hackers Sat Nov 20 11:29:37 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from ind.alcatel.com (postal.xylan.com [208.8.0.248]) by hub.freebsd.org (Postfix) with ESMTP id 4CF9415084; Sat, 20 Nov 1999 11:29:12 -0800 (PST) (envelope-from wes@softweyr.com) Received: from mailhub.xylan.com (mailhub [198.206.181.70]) by ind.alcatel.com (8.9.3+Sun/8.9.1 (ind.alcatel.com 3.0 [OUT])) with SMTP id LAA15346; Sat, 20 Nov 1999 11:29:06 -0800 (PST) X-Origination-Site: Received: from omni.xylan.com by mailhub.xylan.com (SMI-8.6/SMI-SVR4 (mailhub 2.1 [HUB])) id LAA14904; Sat, 20 Nov 1999 11:29:05 -0800 Received: from softweyr.com ([204.68.178.39]) by omni.xylan.com (4.1/SMI-4.1 (xylan engr [SPOOL])) id AA02583; Sat, 20 Nov 99 11:28:56 PST Message-Id: <3836F676.CB4D2D9F@softweyr.com> Date: Sat, 20 Nov 1999 12:28:54 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.1-RELEASE i386) X-Accept-Language: en Mime-Version: 1.0 To: Kris Kennaway Cc: andrew@ugh.net.au, "Daniel O'Connor" , hackers@freebsd.org Subject: Re: Making a port kit References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 ~~~~~~~~~~~~~~~ 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