Porting github code to FreeBSD [configure]
gurenchan at gmail.com
Sun Oct 15 11:22:07 UTC 2017
I figured out the configure script part by adding: GNU_CONFIGURE= yes
and that works fine so far.
I also found that I could use build_depends macro and I added this line
but looking at the output command, the build steps is still attempting to
use regular sed, you can see the error here:
On Sun, Oct 15, 2017 at 6:44 PM, blubee blubeeme <gurenchan at gmail.com>
> I'm trying to port some code from github to FreeBSD but I run into a few
> 1) The project needs to use gnu make, gnu sed and other gnu tools since it
> uses the gnu version of @< for variable names
> 2) The project also uses autoreconf because there's .am and .in files
> I can pull the files down and run autoreconf that seems to populate the
> proper files but then I need to run the configure script then the make
> command as well but I am running into issues there.
> In my Makefile, I added this line:
> USES= autoreconf gmake
> .include <bsd.port.pre.mk>
> # post-extract:
> # post-patch:
> # do-install:
> .include <bsd.port.post.mk>
> connexions/Makefile.am: installing 'upstream/depcomp'
> parallel-tests: installing 'upstream/test-driver'
> ===> Building for utsushi-1.0.0
> gmake: Entering directory '/usr/ports/graphics/tmp/work/test'
> gmake: Makefile: No such file or directory
> gmake: *** No rule to make target 'Makefile'. Stop.
> gmake: Leaving directory '/usr/ports/graphics/tmp/work/test'
> ===> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
> the maintainer.
> *** Error code
> What do I need to add to my uses command to get things to proceed? Doing
> things by hand I have to follow these steps:
> change to the download folder and run:
> autoreconf -fi
More information about the freebsd-ports