Date: Thu, 25 Mar 1999 23:18:07 -0600 (CST) From: Steve Price <sprice@hiwaay.net> To: Jim Mock <jim@corp.au.triax.com> Cc: Chuck Robey <chuckr@mat.net>, ports@FreeBSD.ORG Subject: Re: Makefile help Message-ID: <Pine.OSF.4.02.9903252310410.13895-100000@fly.HiWAAY.net> In-Reply-To: <19990326160124.A89238@corp.au.triax.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. # > 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. Manpages should very rarely ever be put in pkg/PLIST anymore. # Later, # # -- # 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.02.9903252310410.13895-100000>