Date: Thu, 24 Jan 2002 10:45:32 -0500 From: David <ddavid_3@yahoo.com> To: Alan Eldridge <alane@geeksrus.net> Cc: ports@FreeBSD.ORG, Trevor Johnson <trevor@jpj.net> Subject: Re: Porting Problem Message-ID: <20020124154412.5974A44AAB4@spitfire.velocet.net> In-Reply-To: <20020124145439.GB25549@wwweasel.geeksrus.net> References: <20020124132317.1FFD444AA97@spitfire.velocet.net> <20020124145439.GB25549@wwweasel.geeksrus.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On January 24, 2002 09:54 am, Alan Eldridge wrote: > On Thu, Jan 24, 2002 at 08:24:36AM -0500, David wrote: > >After greping the files in the docs directory above, all Makefile.am, > >Makefile.in and a gen_am.sh file's/file contains the "chmod a+r+X -R" as > >above, which i believe should be "chmod -R a+r+X" from some other examples > > in the ports. > > You want to change chmod that to: > > chmod -R ${DOCMODE} > > The "-R" comes before the mode, and DOCMODE is the mode value for documents > as defined in /usr/share/mk/bsd.own.mk (which will be included > automagically). This is what i changed in the Makefile: post-configure: @${PERL} -pi -e 's#lpthread#pthread#g' ${WRKSRC}/bibletime/Makefile @${PERL} -pi -e 's#chmod a+r+X -R#chmod -R ${DOCMODE}#g' ${WRKSRC}/bibletime/docs/gen_am.sh ( thats all one line in The Makefile) Would this be the correct way? I have also tried multiple examples of the @find as per different port Makefile's and am not having any success in the "chmod a+r+X -R" being changed after running "make configure" I also put up a Makefile-orig of an example of one of the "@find" i have tried with no success: http://homepages.dsl.ca/~ddavid/Makefile-orig and a copy of one of the Makefile's from the distro i have been trying to change. http://homepages.dsl.ca/~ddavid/Makefile.cs I'm also guessing that only the "Makefile's" produced after configure finishes are required to be changed, so that would leave out the gen* and Makefiles.* files. Any suggestions on what i should change? Thanks! David To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020124154412.5974A44AAB4>