From owner-freebsd-ports@FreeBSD.ORG Thu Jul 22 22:44:44 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E73E61065672 for ; Thu, 22 Jul 2010 22:44:44 +0000 (UTC) (envelope-from prvs=81269ec9b=pschmehl_lists@tx.rr.com) Received: from ip-001.utdallas.edu (ip-001.utdallas.edu [129.110.20.107]) by mx1.freebsd.org (Postfix) with ESMTP id BB3BB8FC12 for ; Thu, 22 Jul 2010 22:44:44 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: At4GABZmSEyBbgogTmdsb2JhbACTJIxMAQEiQsJNhTYEhAA X-IronPort-AV: E=Sophos;i="4.55,245,1278306000"; d="scan'208";a="36345875" Received: from zxtm01.utdallas.edu (HELO utd65257.utdallas.edu) ([129.110.10.32]) by ip-001.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 22 Jul 2010 17:44:41 -0500 Date: Thu, 22 Jul 2010 17:44:44 -0500 From: Paul Schmehl To: glarkin@FreeBSD.org Message-ID: In-Reply-To: <4C48BF80.709@FreeBSD.org> References: <42527FE46D0130345474C971@utd65257.utdallas.edu> <4C48BF80.709@FreeBSD.org> X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: FreeBSD Ports Subject: Re: How do I solve this WRKDIR problem? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jul 2010 22:44:45 -0000 --On Thursday, July 22, 2010 18:00:32 -0400 Greg Larkin 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