From owner-freebsd-ports@freebsd.org Sun Oct 15 11:22:07 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 76C30E408A0 for ; Sun, 15 Oct 2017 11:22:07 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3B5D473356 for ; Sun, 15 Oct 2017 11:22:07 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x229.google.com with SMTP id n195so738606itg.1 for ; Sun, 15 Oct 2017 04:22:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=b0cO7yOewoDKfh3hWadw/xMnRdABTYOzdFJbEyeO97c=; b=DAB0Zv7rP0ogHFLiid6Ugi4juspq7AHNrf6BYF1qJGvnm2C8rIDz3dG6hJlaX+BDDv OfAzWLvXIINnofZSHLdaV+J0wLRshmp4ljVLX6FtdekUgpZCE+ekW9havEVaStmnn676 3a+I038fmyGqClcTU3FcvTpBIHtIdsiwCBz05BXOYdI00voYOwX6zo2wSaOSVlmF0qTF YewoqaZGQlghjNsaSg7iAfQ03F/7hUVDL7qRDdk3duScOOCa95gNr83FQf0cpCZd85OE mv2VRDBBsrokxgPvJdLvP1FUf58cxAbhglwPSD7cEKI9eq4Gz9JDxuDCDP8TDHssbd0W YsAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=b0cO7yOewoDKfh3hWadw/xMnRdABTYOzdFJbEyeO97c=; b=V7FwMNfcq5Mus8bYcHR3OwUKAZCRY1ETlGTvqUYc+wMPjED2W6ffis7wuoZbulUJcJ 0wS5Vz4PKqZeIyQOgaT+0gHbUFbeXL4TOjQ2yPhDYPv3en3vDwmc1Wo5/2nfTCG4fyKZ AQSXLRHeXwMc8g7MuWWQJZEYRtwM4047NQvsK/dMbuInDe6YyYVp5nprnX69GQ+gj7gv n2oA1g/P8bMvo7A+tWyYLUsxCnQ7TAg31in+g/evFG+r8jAk+KlIsm71JfweOswQZsJe LVb1LZ63IgVIB55yeEfPZG4x7DBby0/9U1BnNREzYRCJeTYIFucVLb9bedkY09b+S3kS LZ3w== X-Gm-Message-State: AMCzsaWwe0oThEKeJz7DGlJ2i1nuDhxJgMA8AAhl9RyFw7m0wFZd7rD/ ZjU3ZlmFUZ/VEJc0lJCbOT0bHLGuxcahR48sxDqtPg== X-Google-Smtp-Source: AOwi7QD+Y18BjgQocEa9om3ikq+c8LKs144h8V51oCP/u6fOPSs1YXI3VDVRdvcgH+gCfzqcubC555UCU2yqssjlExk= X-Received: by 10.36.213.213 with SMTP id a204mr9565498itg.51.1508066526024; Sun, 15 Oct 2017 04:22:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.8.66 with HTTP; Sun, 15 Oct 2017 04:22:05 -0700 (PDT) In-Reply-To: References: From: blubee blubeeme Date: Sun, 15 Oct 2017 19:22:05 +0800 Message-ID: Subject: Re: Porting github code to FreeBSD [configure] To: FreeBSD Ports Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Oct 2017 11:22:07 -0000 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 below BUILD_DEPENDS= gsed:textproc/gsed 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 wrote: > I'm trying to port some code from github to FreeBSD but I run into a few > issues; > > 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 > > # post-extract: > # post-patch: > # do-install: > > .include > > connexions/Makefile.am: installing 'upstream/depcomp' > parallel-tests: installing 'upstream/test-driver' > ===> Building for utsushi-1.0.0 > gmake[1]: Entering directory '/usr/ports/graphics/tmp/work/test' > gmake[1]: Makefile: No such file or directory > gmake[1]: *** No rule to make target 'Makefile'. Stop. > gmake[1]: 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 > ./configure > make > > >