On Fri, Mar 3, 2017 at 1:04 PM, Stuart Henderson <s...@spacehopper.org> wrote: > On 2017/03/03 11:34, sven falempin wrote: >> About Bison, this is how it fails: >> >> checking for bison... yacc >> checking for ranlib... (cached) ranlib >> checking for GNU M4 that supports accurate traces... configure: error: >> no acceptable m4 could be found in $PATH. >> GNU M4 1.4.6 or later is required; 1.4.16 or newer is recommended. >> GNU M4 1.4.15 uses a buggy replacement strstr on some systems. > > You may need to use gnu m4 to build this. For some configure scripts > you can do this with "M4 = ${LOCALBASE}/bin/gm4" (and add the build dep). >
Okay, Actually the BUILD_DEPENDS already contains devel/m4 and the m4 i got is not in my local dir, so it is too old, and providing a path would work ( i tried to put M4= in CONFIGURE_ENV ) did not work, so i went to m4 package and i am scratching my head The package references libsigsegv well in WANTLIB and LIB_DEPENDS but the command `make` simply refuses to do anything because the explicitly marked dependencies is not fulfilled, and the program is not even trying ... in complete head scratching mode i change the Makefile to add BUILD_DEPENDS with of course no effect. Index: Makefile =================================================================== RCS file: /cvs/ports/devel/m4/Makefile,v retrieving revision 1.32 diff -u -p -r1.32 Makefile --- Makefile 22 Nov 2013 19:53:46 -0000 1.32 +++ Makefile 3 Mar 2017 20:42:49 -0000 @@ -14,6 +14,7 @@ PERMIT_PACKAGE_CDROM= Yes WANTLIB= c sigsegv +BUILD_DEPENDS= devel/libsigsegv LIB_DEPENDS= devel/libsigsegv CONFIGURE_STYLE= gnu cvs server: Diffing patches cvs server: Diffing pkg [1]-[vps102084]-[/usr/ports/devel/m4] # make ===> Verifying specs: c sigsegv Missing library for sigsegv>=0.0 Fatal error *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2144 '/usr/ports/pobj/m4-1.4.17/.buildwantlibs') *** Error 1 in /usr/ports/devel/m4 (/usr/ports/infrastructure/mk/bsd.port.mk:2396 'all') make install in /usr/ports/devel/libsigsegv <fixes> theproblem Once deve/m4 is installed bison build Now it was my understanding that BUILD_DEPENDS would do make install of the listed ports. Cheers. -- -- --------------------------------------------------------------------------------------------------------------------- Knowing is not enough; we must apply. Willing is not enough; we must do