From nobody Wed Aug 23 22:15:58 2023 X-Original-To: freebsd-ports@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 4RWLC73snTz4rRXW for ; Wed, 23 Aug 2023 22:16:03 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) (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 4RWLC709JWz3Nwh; Wed, 23 Aug 2023 22:16:03 +0000 (UTC) (envelope-from markjdb@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qt1-x82c.google.com with SMTP id d75a77b69052e-411f5dd7912so5605931cf.3; Wed, 23 Aug 2023 15:16:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692828961; x=1693433761; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:sender :from:to:cc:subject:date:message-id:reply-to; bh=V+mkxpss/y7MVrKI+fkCbii9TzloXH1KYNn7ipA8c5c=; b=hJTMdCxKNWL+gpJr5fk7yHS0bgJUEZg4SR79bM44Jke86h93jAv/A9tknh1xljQ/Cu 2zfF82iRDN+hy8OEymaxYch9N1XUe2rexVx1yU1BANQ7GoQEo562nPYCC+RrlZBJRQpx GVyMDrFRMoWyO/jp+zu2P6ZloEQErXBPeredqRwXZlTYPIyyYghhMz+9szNlmRlI054h Chdf/qFcxiifTFsy0aQzPoWdES1OqxD7FMhmwMG30wly6wQQ+MiMHYwvJ8gxuBv0peJX rr2wpdJCSNPqBMZl+0VlLDvzXDulY7Q5CkCBl16xwJUFRCyZzyofP4YOFqjEYP7j6fdr K6gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692828961; x=1693433761; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=V+mkxpss/y7MVrKI+fkCbii9TzloXH1KYNn7ipA8c5c=; b=Iqzij8ZnMvI44+f9yMWlH+9PGBC6rbmd87TtwizPmXXYAqhPCqjupfmSrkK7j5PzDG ET7c00GiqauS8HOZ3AZoo7vnqDMMfmnnpzlVX85ZEqBnAt6g2NkkMjZxTZwkonti/HWw MDwon9vVmNupB6tSY1cCcZR7edmcx17x6VarHBSiJUc7/5+BVkMMghHTyYu9aZOOrvws ShWuasXyM1FAOpFgdWogc19ZoFTZUP3W73Gi6LNHuUQs9WOqNf7UkJxgBiOMDpHJtaxt oBdlaA5tARDp7XqfAr4ZoYC3nsXUlbIVu/OpGWz84xbaYErjkE/0j/X8wAJDpZwRhs1V y1lQ== X-Gm-Message-State: AOJu0YypZ4gOat8KSm+kMTXjPZbyGvunu6sRBGdqhC+N6U8IQ7qfG7KA CX5aCeXkDCKT8lSgPMuH9Opj3vh2kE4= X-Google-Smtp-Source: AGHT+IFlIkHeqgGvF8jj0pk6gXU6b9vetVTNZsYWPvgDeqNiNKx4MevD8rDuBPzmWk4/LpkBptrj9Q== X-Received: by 2002:a05:622a:11cc:b0:40f:d021:b0cc with SMTP id n12-20020a05622a11cc00b0040fd021b0ccmr19975926qtk.22.1692828961011; Wed, 23 Aug 2023 15:16:01 -0700 (PDT) Received: from nuc (192-0-220-237.cpe.teksavvy.com. [192.0.220.237]) by smtp.gmail.com with ESMTPSA id f16-20020ac84650000000b0040fdf9a53e6sm3967146qto.82.2023.08.23.15.16.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Aug 2023 15:16:00 -0700 (PDT) Date: Wed, 23 Aug 2023 18:15:58 -0400 From: Mark Johnston To: David Chisnall Cc: FreeBSD Developers , freebsd-ports@freebsd.org Subject: Re: Correct install locations for things using the base system make infrastructure Message-ID: References: <0899EA72-830E-453E-BAE4-127368FC248C@FreeBSD.org> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0899EA72-830E-453E-BAE4-127368FC248C@FreeBSD.org> X-Rspamd-Queue-Id: 4RWLC709JWz3Nwh X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] On Wed, Aug 23, 2023 at 10:04:45PM +0100, David Chisnall wrote: > Hi all, > > I’ve been fighting this for over an hour and I presume someone else has done it in the past. If something is built using the BSD bsd.prog.mk build goo, what do I need to do in the ports infrastructure to make sure that BINDIR and MANDIR are set, to make it install things in the right places? > > So far, every invocation I’ve tried has made things differently wrong and the porters handbook is completely silent on the case of bmake. Any help gratefully received! ftp/netdumpd does this. The recipe seems to be: MAKE_ARGS+=BINDIR=${PREFIX}/bin etc.