From nobody Sat Apr 2 06:18:44 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id ADA7B1A5BC87 for ; Sat, 2 Apr 2022 06:18:58 +0000 (UTC) (envelope-from pprocacci@gmail.com) Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KVn1G0JLDz4bTN for ; Sat, 2 Apr 2022 06:18:58 +0000 (UTC) (envelope-from pprocacci@gmail.com) Received: by mail-lf1-x131.google.com with SMTP id t25so8428701lfg.7 for ; Fri, 01 Apr 2022 23:18:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1eJoC9exHWmpRwrxlH6C4lOi8OQU6WoTED5uCaF1dvU=; b=EVEWuLdFtYTdB0q0hjl2b/csfaprfMzB1bbpUsJHDUeT4CguCcLci7HJBJacWbjsaE kYca1mtordaDZL3JqzWfiKXiAcB026TJxX+bOCxlEW46O74QWy/X3eL7BX42hHDUrsqa suhLp3bQx4Y39MrtQkf9PJ9CYnPGBQqjqTjmLdrUncH/X0UbiXDasZgC7hCNDfEQTK98 Ro+grlGcNotP6kVVKXPTXijJgk5IqI/PlwArWEJGimMQ7x60gZqWaR4+ydQVL+oUxyAP 79RPW7xX96Gr4h/BTbWXyI6FRjeZiipI0TuOaSeBCZAsmIdsFo3PobY1KwsVXMAsudfS BPsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1eJoC9exHWmpRwrxlH6C4lOi8OQU6WoTED5uCaF1dvU=; b=Q/dDzb2ezSTiu1BqFx2rdicwCUAmO1dch1AZxST2L3VegkgDlV15MoHXpzR4PMZJhU c2OqPuqHkT3ChSkKD2UiluSGQEtD0e164gNKbaM52dDdwqgLwB10W0CyCxpBQ0AD6+sk A+orB8MR7Lm6dQR+EFgjUoYoYMeqhCdS6+NOf2r3pBwtbcI55frkScEOq+17LhmZfV7D 7Ik76LyiQ6R4vOnxMKxzjXoLNntt5WysN9yray8gak85LDPPc8gBY6san0aJQTsLXMz7 hjWy1g4ykJcMwLZBWQ1pFqVad6k8mfKlzHVicEeOKShafnvT1idZ/waoSet6HvPX3LrQ ZYrA== X-Gm-Message-State: AOAM530LhattvlWeC9maHmMC3Q3VBK/0q1sofEwEM4CugHZW9EqIKq89 vJ3/SJJfgDdqD9Z98gjJAcXhAlNvcfv9MvOJRwbJeMBiTQ== X-Google-Smtp-Source: ABdhPJxdhXaFZt0KMw8Y82Eueq7qvRmDKRbAY7mc8XqZURS6yXOsqRW7MdswPBuAtZ9uTvZ8/nJ4SnBMdctK6S4kNM4= X-Received: by 2002:a05:6512:281e:b0:44a:aa1f:a245 with SMTP id cf30-20020a056512281e00b0044aaa1fa245mr16374508lfb.510.1648880335902; Fri, 01 Apr 2022 23:18:55 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Paul Procacci Date: Sat, 2 Apr 2022 02:18:44 -0400 Message-ID: Subject: Re: How to add compile time options to a port? To: iio7@tutanota.com Cc: Freebsd Questions Content-Type: multipart/alternative; boundary="000000000000b2dd1a05dba5deb5" X-Rspamd-Queue-Id: 4KVn1G0JLDz4bTN X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=EVEWuLdF; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of pprocacci@gmail.com designates 2a00:1450:4864:20::131 as permitted sender) smtp.mailfrom=pprocacci@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::131:from]; MLMMJ_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000b2dd1a05dba5deb5 Content-Type: text/plain; charset="UTF-8" Hi! According to the configure script, the gpm related options are only applicable for linux. --with-gpm-mouse Compile with gpm mouse support (Linux only) [yes if found] Thanks, Paul Procacci On Sat, Apr 2, 2022 at 2:08 AM wrote: > I have been search the man pages and the manual, but haven't > been able to locate any specific information. > > If there is a port in which the maintainer isn't providing all the > compile time options, is there a way to add an option without > manually editing and changing the Makefile? > > If not, what is the best practice here? > > Just as an example, say I want to add the option: > > --without-gpm-mouse > > to mc (Midnight Commander). > > Cheers > > -- > Sent with Tutanota, the secure & ad-free mailbox. > > -- __________________ :(){ :|:& };: --000000000000b2dd1a05dba5deb5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi!

According to the configure script, the gpm= related options are only applicable for linux.

=C2=A0 --with-gpm-mo= use =C2=A0 =C2=A0 =C2=A0 =C2=A0Compile with gpm mouse support (Linux only) = [yes if
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 found]

Thanks,
Paul= Procacci

On Sat, Apr 2, 2022 at 2:08 AM <iio7@tutanota.com> wrote:
I have been search the man pages and the m= anual, but haven't
been able to locate any specific information.

If there is a port in which the maintainer isn't providing all the
compile time options, is there a way to add an option without
manually editing and changing the Makefile?

If not, what is the best practice here?

Just as an example, say I want to add the option:

=C2=A0 --without-gpm-mouse

to mc (Midnight Commander).

Cheers

--
=C2=A0Sent with Tutanota, the secure & ad-free mailbox.



--
__________________

:(){ :|:& };:
--000000000000b2dd1a05dba5deb5--