How do I solve this WRKDIR problem?

Greg Larkin glarkin at FreeBSD.org
Thu Jul 22 22:00:41 UTC 2010


-----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.

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/           - The Power To Serve
http://www.sourcehosting.net/     - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMSL+A0sRouByUApARAvcGAJ919ZZGIio5ioJ82ObCcd+mwtzHUwCdHTYP
W+mULbeNyOcLbJCOKAVE/M8=
=LyQ9
-----END PGP SIGNATURE-----



More information about the freebsd-ports mailing list