pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/28977: a couple of problems with editors/emacs



[ On Sunday, January 16, 2005 at 00:49:16 (+0100), Julio M. Merino Vidal wrote: 
]
> Subject: Re: pkg/28977: a couple of problems with editors/emacs
>
> On Sat, 2005-01-15 at 23:24 +0000, Greg A. Woods wrote:
> > @@ -67,6 +67,15 @@
> >  
> >  REPLACE_PERL=      lib-src/grep-changelog
> >  
> > +BUILD_TARGET=      all info
> > +
> > +# Note:  ${PKGVERSION} here is not the same as ${PKGVERSION} in the PLIST!
> > +# The expression below is the one used in PLIST_SUBST.
> > +#
> > +EGDIR =            
> > ${PREFIX}/share/examples/emacs-${PKGVERSION:C/nb[0-9]*$//}
> 
> Couldn't this simply be:
> 
> EGDIR=        ${PREFIX}/share/examples/${PKGNAME_NOREV}

No, because it needs to be in a version-specific directory if we're ever
to properly support simultaneous installs (and views) of multiple emacs
versions.  All the rest of emacs is designed to support multiple
simultaneous versions, and pkgsrc maintains that ability except for the
fact that it also installs the unversioned link to the name of the
installed binary (and there are also the other supplementary programs
which don't have versioned names, but I'm ignoring them for the moment :-).

This file, in its example directory location, belongs specifically to
the version being installed, and if it were not in a version-specific
directory then it would clash with any other install of any other
version.

-- 
                                                Greg A. Woods

H:+1 416 218-0098  W:+1 416 489-5852 x122  VE3TCP  RoboHack 
<woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>          Secrets of the Weird 
<woods%weird.com@localhost>



Home | Main Index | Thread Index | Old Index