Date: Thu, 22 Jul 2010 17:44:44 -0500 From: Paul Schmehl <pschmehl_lists@tx.rr.com> To: glarkin@FreeBSD.org Cc: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: How do I solve this WRKDIR problem? Message-ID: <F7695F03311BFA1CABED1A87@utd65257.utdallas.edu> In-Reply-To: <4C48BF80.709@FreeBSD.org> References: <42527FE46D0130345474C971@utd65257.utdallas.edu> <4C48BF80.709@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--On Thursday, July 22, 2010 18:00:32 -0400 Greg Larkin <glarkin@FreeBSD.org> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Paul Schmehl wrote: >> I'm trying to update the devel/byaccj port, which I maintain. The new >> version has made some subtle changes in naming, which have thrown me for >> a loop; >> >> PORTNAME= byaccj >> PORTVERSION= 1.15 >> DISTFILES= byaccj1.15_src.tar.gz >> >> WRKDIR is work/byaccj1.15 when the files are extracted. >> >> If I don't define WRKSRC, it's byaccj-1.15. If I define it as >> ${PORTNAME}${PORTVERSION}, it's still byaccj-1.15. Hardcoding it >> doesn't seem like the right answer, but what is? >> > > Hi Paul, > > I didn't have a problem downloading the 1.15 distfile from SF (ref: your > other message) nor setting WRKSRC to the correct value. Please check my > Makefile diff here, and let me know if it works for you or not. > > http://people.freebsd.org/~glarkin/diffs/byaccj-Makefile.diff > > The build immediately fails, though, because the distro Makefile has > some MacOSX-specific stuff in it. I presume that's what you're working > on fixing in the port update. > Thanks to your help I spotted my error and fixed it. I'm about ready to submit the update. It's amazing how often I can look at something and not see it. :-( The Sourceforge situation is a mess, though. I'm going to have to wait for that to get fixed in the macros before I can proceed with afterglow. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F7695F03311BFA1CABED1A87>