From nobody Mon Apr 4 01:00:42 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 76A5B1A511EC for ; Mon, 4 Apr 2022 01:00:46 +0000 (UTC) (envelope-from iio7@tutanota.com) Received: from w1.tutanota.de (w1.tutanota.de [81.3.6.162]) (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 (2048 bits) client-digest SHA256) (Client CN "mail.tutanota.de", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KWss92GVZz4qLR for ; Mon, 4 Apr 2022 01:00:45 +0000 (UTC) (envelope-from iio7@tutanota.com) Received: from w3.tutanota.de (unknown [192.168.1.164]) by w1.tutanota.de (Postfix) with ESMTP id C92C7FBF64D for ; Mon, 4 Apr 2022 01:00:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1649034042; s=s1; d=tutanota.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=T62kUGzT8QYg3XLkchXvA1kA47lHeJN/d3OscDHLsLM=; b=O0ln2anuVKAgjWmXSuUhsa5LQbWubJ9Or4MFiGVND3qpaea9K2a0j8C7WdpBh1VU EQ5adfWXd17nDzNOjg+mictu8bUm5fHb5YUfZJioTwJil/LZQ2BrZe2pfyFET8noLU2 G4iFNcB9U8FpMC37Qn05MtEMbrpJ8xLfH1VzKOHT3EMqcLOFSXYAheYkC5+rpzIb/li ZvF0eP07Ej4BSIjpXQRAAo+qH9ogZao1lWHZ293eQybqOCEfF+l0f+D5rldH2vs/+TC SDi9BKgUJXvrymsVa8xRDGm5zLlfYQC6bkg7Ck4lBOj13gyO8ETHlOlfA+qgeshoCMJ qJm2AJmuYQ== Date: Mon, 4 Apr 2022 03:00:42 +0200 (CEST) From: iio7@tutanota.com To: Freebsd Questions Message-ID: In-Reply-To: References: Subject: Re: How to add compile time options to a port? 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4KWss92GVZz4qLR X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tutanota.com header.s=s1 header.b=O0ln2anu; dmarc=pass (policy=quarantine) header.from=tutanota.com; spf=pass (mx1.freebsd.org: domain of iio7@tutanota.com designates 81.3.6.162 as permitted sender) smtp.mailfrom=iio7@tutanota.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[tutanota.com:s=s1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RWL_MAILSPIKE_GOOD(0.00)[81.3.6.162:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:81.3.6.160/28]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[tutanota.com:+]; DMARC_POLICY_ALLOW(-0.50)[tutanota.com,quarantine]; FROM_NO_DN(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-questions]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:24679, ipnet:81.3.0.0/18, country:DE]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Thank you very much, exactly what I was looking for. Is this documented somewhere? Where did I miss it? Cheers. Apr 3, 2022, 18:38 by jbeich@FreeBSD.org: > iio7@tutanota.com writes: > >> 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? >> > > /usr/ports/*/*/Makefile.local > > Makefile.local is read *after* Makefile, so unlike make.conf can > modify all variables, not just those set via "?=" or "+=". > >> >> Just as an example, say I want to add the option: >> >> --without-gpm-mouse >> >> to mc (Midnight Commander). >> > > $ cd /usr/ports/misc/mc > $ echo 'CONFIGURE_ARGS += --without-gpm-mouse' >>Makefile.local > $ make -V CONFIGURE_ARGS > --without-gpm-mouse ... >