From owner-freebsd-ports Thu Mar 25 21:45:47 1999 Delivered-To: freebsd-ports@freebsd.org Received: from corp.au.triax.com (slwag2p20.ozemail.com.au [203.108.157.68]) by hub.freebsd.org (Postfix) with ESMTP id 68F3314F2C for ; Thu, 25 Mar 1999 21:45:42 -0800 (PST) (envelope-from jim@corp.au.triax.com) Received: (from jim@localhost) by corp.au.triax.com (8.9.3/8.9.3) id QAA03668; Fri, 26 Mar 1999 16:45:04 +1100 (EST) Date: Fri, 26 Mar 1999 16:45:04 +1100 From: Jim Mock To: Steve Price Cc: Chuck Robey , ports@FreeBSD.ORG Subject: Re: Makefile help Message-ID: <19990326164503.E89238@corp.au.triax.com> Reply-To: jim@corp.au.triax.com References: <19990326160124.A89238@corp.au.triax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.1i In-Reply-To: Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 25 Mar 1999 at 23:18:07 -0600, Steve Price wrote: > On Fri, 26 Mar 1999, Jim Mock wrote: > # Already have =P Even though it's now installing and playing nice > # with the X prefix, make deinstall is trying to remove > # /usr/X11R6/lib/libworkman.so.1 but it's not specified in the > # PLIST. > # Here's the relevant part of PLIST.. > # > # lib/libworkman.so > # lib/libworkman.so.1.4 > # > # And here's the relevant part during make install.. > # > # installing in ./libworkman... > # + /usr/bin/install -c -m 0755 libworkman.so.1.4.1 /usr/X11R6/lib/libworkman.so.1.4 > # + rm -f /usr/X11R6/lib/libworkman.so > # + ln -s libworkman.so.1.4 /usr/X11R6/lib/libworkman.so > # > # And here's what happens on make deinstall.. > # > # ===> Deinstalling for ascd-0.10.1 > # pkg_delete: file `/usr/X11R6/lib/libworkman.so.1' doesn't really exist > # pkg_delete: couldn't entirely delete package (perhaps the packing list > # is incorrectly specified?) > # > # Am I being clueless again? Where is it getting libworkman.so.1? > # It should be .so.1.4, shouldn't it? > > No. ELF libraries only have a single digit (major version). The > '.4' is stripped by bsd.port.mk on an ELF system. > Hmmm. The filename in /usr/X11R6/lib is actually libworkman.so.1.4 though. So how do I go about making it be .so.1? I'm running 3.1-RELEASE upgraded from 2.2.8 through the binary upgrade with /stand/sysinstall. I didn't have the drive space to cvsup and make world. > # > BTW, get rid of the explicit man page stuff, just listing it > # > under MAN1 does all that (including conditioning it against > # > NOPORTDOCS). Any man page you list there no longer goes into > # > PLIST, either. > # > > # > # Yeah, I've already removed it. With the patches to Imakefile it > # doesn't need any of the other stuff. Once I figure out the > # problem above, it'll be ready to go. > > Actually this is not quite right. With USE_IMAKE=yes the manpages > are assumed to be compressed. However, if you install the manpage > from a 'do-install' target as you have done, you must either > compress it yourself or set 'MANCOMPRESSED=no'. If you remove the > do-install target then just putting it in MANx is sufficient as > Chuck said. That's what I did. There is no do-install in the Makefile anymore.. just MAN1= ascd.1. > Manpages should very rarely ever be put in pkg/PLIST anymore. > Yeah, they're not. That part I already knew =) -- Jim Mock System Administrator jim@corp.au.triax.com ,-._|\ FreeBSD work: Triax Internet Services http://www.triax.com/ / \ The personal: http://www.triax.com/~jim/ \_,--._/ Power To The FreeBSD 'zine http://www.freebsdzine.org/ v Serve! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message