Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Nov 1998 10:31:33 -0700
From:      Nate Williams <nate@mt.sri.com>
To:        Martin Cracauer <cracauer@cons.org>
Cc:        Nate Williams <nate@mt.sri.com>, Satoshi Asami <asami@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: ports/lang/jdk Makefile
Message-ID:  <199811161731.KAA18636@mt.sri.com>
In-Reply-To: <19981116182916.A12756@cons.org>
References:  <199811160628.WAA13452@freefall.freebsd.org> <199811161554.IAA13509@mt.sri.com> <19981116175406.A10690@cons.org> <199811161721.KAA18498@mt.sri.com> <19981116182916.A12756@cons.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> > > > >   Make this package by removing the --exclude option to tar.  I'm
> > > > >   assuming this is what Nate intended because all the *.class files
> > > > >   are listed in pkg/PLIST.  If it's the other way around, go ahead and
> > > > >   revert it (and fix PLIST), Nate.
> > > > 
> > > > Thanks, I guessed at what Martin was doing initially, so I hope what is
> > > > remaining is correct. :)
> > > 
> > > This trick was done to prevent files with '$' in them (classfiles
> > > compiled from sourcesfiles with inner classes) from being packaged.
> > 
> > Why not package them?
> 
> My wording was inprecise. I didn't have to prevent the '$' from being
> packaged, but I had to prevent them from being installed on `make
> install` in the ports directory since the pkg_tools ignore files with
> '$' in the name (or at least they couldn't when I built the port).

Ahh, I see.

> Hence the set of installed files after `make install` would include
> them, while an install using pkg_add wouldn't have them.

Gotcha.

> > > The pkg_* tools ignore such files, but ports `make install` doesn't.
> > > 
> > > Maybe the best solution is to ship the distfile without compiled
> > > classes? 
> > 
> > Why is that?  The JDK as released from SUN ships with them....
> 
> Just a suggestion. I don't think they're of great value and they take
> up quite some space.

Really?  The only place they exist as .class files is in the demo
directory, and they don't take up much space at all IMO.

Satoshi, what say you regarding files with '$' in them and the package
tools not handling them?



Nate

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



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