Re: [Tack-devel] ACK compiles on NetBSD-macppc, sort of...
Moved to https://github.com/davidgiven/ack
Brought to you by:
dtrg
From: Gregory T. (t. K. <gt...@di...> - 2006-07-19 15:54:37
|
At 10:59 AM -0400 7/19/06, David Given wrote: >I'd rather not spend too much time on the old build system right now >because, er, it's incomprehensible and makes my head hurt to try and >deal with. (I spent about an hour today just trying to find the place >where the descr files get installed to the target directory.) Ok. Is the new build generally self-contained and independent of the POSIX= platform it is running on? The current build appears to have been able to= build on BSD 4.1 and BSD 4.2, so while it hasn't yet run successfully= end-to-end, most of the problems just seem to be related to the changes= since BSD 4.2. >> If they don't fix the problem, my thoughts were to replace "rm_deps" >> in the proto.make files with "$(RM_DEPS)" where RM_DEPS =3D >> $(UTIL_HOME)/bin/rm_deps, and do the same for do_resolve. Feedback >> appreciated. > >Actually, the easiest solution is to just add '#!/bin/sh' at the >beginning of the rm_deps script --- doing that will mean the shell will >notice it's executable when it's doing its path search. I tried this: #!/bin/sh : $Id: rm_deps,v 1.2 1994/06/23 13:47:02 ceriel Exp $ : remove dependencies from a makefile, write result on standard output. : we cannot do this directly in a makefile because some make versions : have # start a comment, always. sed -e '/^#DEPENDENCIES/,$d' $1 echo '#DEPENDENCIES' > make depend =2E/util/int/M.warn_h ./doc/int/appA =2E/util/int/M.trap_msg ./etc/traps =2E/util/int/M.warn_msg ./doc/int/appA rm_deps Makefile >Makefile.new rm_deps: not found (the "." represents the path on my machine, which I've deleted for public co= nsumption) If I add the path to the rm_deps file, with or without the #!/bin/sh, I get= a radically different output (with other failures due to .SUF files not= found). In some of the other Makefiles (specifically in lang/cem/lint),= there is a UTIL_BIN defined, which piggybacks on $(UTIL_HOME)/bin, exactly= what I need (RM_DEPS=3D$(UTIL_BIN)/rm_deps). =20 thanks, tim Gregory T. (tim) Kelly Owner Dialectronics.com P.O. Box 606 Newberry, SC 29108 "Anything war can do, peace can do better." -- Bishop Desmond Tutu |