Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Mar 1999 16:45:04 +1100
From:      Jim Mock <jim@corp.au.triax.com>
To:        Steve Price <sprice@hiwaay.net>
Cc:        Chuck Robey <chuckr@mat.net>, ports@FreeBSD.ORG
Subject:   Re: Makefile help
Message-ID:  <19990326164503.E89238@corp.au.triax.com>
In-Reply-To: <Pine.OSF.4.02.9903252310410.13895-100000@fly.HiWAAY.net>
References:  <19990326160124.A89238@corp.au.triax.com> <Pine.OSF.4.02.9903252310410.13895-100000@fly.HiWAAY.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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