From owner-freebsd-questions@freebsd.org Tue Aug 18 19:45:02 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C8C273C598A for ; Tue, 18 Aug 2020 19:45:02 +0000 (UTC) (envelope-from lsrbreda@xs4all.nl) Received: from lb1-smtp-cloud7.xs4all.net (lb1-smtp-cloud7.xs4all.net [194.109.24.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.xs4all.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BWLwX0gzlz4Ygy for ; Tue, 18 Aug 2020 19:44:59 +0000 (UTC) (envelope-from lsrbreda@xs4all.nl) Received: from cust-9baba889 ([IPv6:fc0c:c196:282b:f540:89a:8cc0:c325:31e4]) by smtp-cloud7.xs4all.net with ESMTPSA id 87XTkwabUywL587XUkVYLs; Tue, 18 Aug 2020 21:44:56 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=s1; t=1597779896; bh=ViPkydgkRSo/d6cmHZcCcMC2aZ1VcU/G7ihoPtngDT0=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From: Subject; b=NpwwaSiRfU3XxMFHhZBLdxXLkUEhmOC4qkNvpcHB/VFikkK49LGL/NHN/kBmeO6eJ ufJaCzp1P+BvuRzfz0PdhsAPTkA/DS7Z/TuFPjoQuj0RMSDHU9a7iHQu5cskl9TKVL m4qYgV2jPXoLy/k08eaSiNxmLB8R3qovPrLJCeLvB+ukS+UzaPcN5cZS4SBjeR233w bk8/cZTwb70iYtznaj4LDMX03hpYILBoMNcH9wAnFfdwc39kl74LKvbWUR725vHAR7 WmgixPNhMoglfOnh1xKSZObcagL9x3ESjGsIwH9dmjMB+5Ia6x2UBwRHLw5WWv6ZLk 0NxszinN4prTQ== Reply-To: From: "louis.forums@xs4all.nl" To: References: <000001d67566$e2acd5a0$a80680e0$@xs4all.nl> In-Reply-To: <000001d67566$e2acd5a0$a80680e0$@xs4all.nl> Subject: How to build a package from local source keeping all the original used (gnu autotools) build options !?? Date: Tue, 18 Aug 2020 21:44:54 +0200 Message-ID: <000701d67598$0c8aa560$259ff020$@xs4all.nl> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQJNtvOxsaRsgAbmPhqHN7qixEg+u6hPwRBw Content-Language: nl X-CMAE-Envelope: MS4wfMkkdYm/Vu1VZqUt98IPRfs/HnTEWTh6DYKJZhBEep067W1p0jfckxVZjR+J4PHiIYWiqApl1Cul/pdB412+qxQ1fas3rjx242ZDW2peTvF8tIlOMNNG +YXjGUu1MinvKH8SEr4ANm6ZApran92LQuwkm/wEb9szrtxbGQh4hbaswm0m50sw4dz/hdNxHkkdn7JcBItyPr2Ci/4+xPCEvCQq27vw4JDoqLKH4s2/k1wh X-Rspamd-Queue-Id: 4BWLwX0gzlz4Ygy X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=xs4all.nl header.s=s1 header.b=NpwwaSiR; dmarc=none; spf=pass (mx1.freebsd.org: domain of lsrbreda@xs4all.nl designates 194.109.24.24 as permitted sender) smtp.mailfrom=lsrbreda@xs4all.nl X-Spamd-Result: default: False [0.47 / 15.00]; HAS_REPLYTO(0.00)[louis.forums@xs4all.nl]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[xs4all.nl]; R_SPF_ALLOW(-0.20)[+ip4:194.109.24.0/24]; TO_DN_NONE(0.00)[]; SUBJECT_HAS_EXCLAIM(0.00)[]; DKIM_TRACE(0.00)[xs4all.nl:+]; RCVD_IN_DNSWL_LOW(-0.10)[194.109.24.24:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[xs4all.nl]; SUBJECT_ENDS_QUESTION(1.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[xs4all.nl:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[xs4all.nl:s=s1]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.07)[0.075]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FREEMAIL_REPLYTO(0.00)[xs4all.nl]; REPLYTO_DOM_EQ_FROM_DOM(0.00)[]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[xs4all.nl]; RWL_MAILSPIKE_POSSIBLE(0.00)[194.109.24.24:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Aug 2020 19:45:02 -0000 Hello, =EF=BF=BD After downloading a project from GitHub and making some changes, I can = build and install that project using the GNU autotools=20 cd /var/git/ ./autogen.sh ./configure =E2=80=93 option-A=3D/abc =EF=BF=BD=E2=80=93 = option-B=3D/def =EF=BF=BD =EF=BF=BD =EF=BF=BDetc (*required* options) make make install make dist =EF=BF=BD However than I need to make a distribution package for that project=20 cp /var/git// =EF=BF=BD cd /usr/ports/ cd /usr/ports// make makesum make stage make stage-qa make package That however does not work in the right way.=20 =EF=BF=BD The problem is that =E2=80=9CPort=E2=80=9D is building the sources = *again* (in =EF=BF=BDcd /usr/ports//work//=20 And more severe =E2=80=A6. It is building the package without and = *required* options =E2=80=A6=E2=80=A6. (the same as defined for the = original build!) =EF=BF=BD So this leads to the *default package* and not the *intended package* = having e.g. required path settings! =EF=BF=BD =EF=BF=BD So my question: =E2=80=9Cis how to build an package having the same = build settings as in the original autotools build=E2=80=9D (using same generated makefile, config etc.) =EF=BF=BD Perhaps !!?? the whole rebuild process by the port-tools is not required = at all (just my feeling(!)=20 If port could!!?? only do all the packaging stuff for the already build = files! =E2=98=B9 =F0=9F=98=8A =EF=BF=BD No problem if port does the project make process again = =E2=80=A6=E2=80=A6 as long as it would use exactly the same settings = =F0=9F=98=8A =EF=BF=BD Does anyone know how to archive this? =EF=BF=BD Sincerely, =EF=BF=BD Louis=20 =EF=BF=BD =EF=BF=BD