From owner-freebsd-ports@freebsd.org Sun Jul 5 07:01:03 2020 Return-Path: Delivered-To: freebsd-ports@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 AB58E362C66 for ; Sun, 5 Jul 2020 07:01:03 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B003L5cT7z4ZMV for ; Sun, 5 Jul 2020 07:01:02 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-oi1-x230.google.com with SMTP id l63so28277073oih.13 for ; Sun, 05 Jul 2020 00:01:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=W91/lYBVHdynwnA/ezKu2zxd7swjrlViFOItKCbmFy8=; b=f4nSwjLUgwgvL4pbIGMsNZXhmeIMaY4FTNw2PnSJQv1Z99ZNWwJrmT4oVl8GlQaHF+ 538wax7JhwzTgA8H8rEV35yyF0N6qU4+jDtyhnIjOQ40DdrjDkUTxRaialjZMp+XdV8B RfBD8Yf3YqwCtp3BVwkjMQQ7/XdeahZY8DK3nTjggKCbIS8AOsNvYl0JJl1DR+5tgEx/ 8IL+UA3M4pXJpnJtgH/z7s39UTcezVUgnshC+Zj+ByIJjxhzupO6l/f6bGN1diS0iw3W w9NWjMbSsnSjx6VUKCD102d1TbS4wD8A4xMt3XU5hGO88db3t8ZU6yTI9GBL96QmYBN3 IxNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=W91/lYBVHdynwnA/ezKu2zxd7swjrlViFOItKCbmFy8=; b=E/wff2QAb1ME2TVEpfzZQmnIdih3OAnd5fuaW6OPxsqSQ5TxBn4FFU4816thUuHyYn DWw8n9Gm/IY7bIhW7jipILYP4uOoRGSpQpvUxZizWNauiQeYoHcEIcSgOf1zWkbnMCHg tqdaPW2/5zCSh+7npMFrmDjFXYw2Bll2X8qCCNxIIpshgIGDTo3bPqcUQIBY+kgWz12j Q4DEF1AZUk+3Kgsp2UCLvuDhKuyCa5NZSQp0xTQBguol4PdUbFkTTR3u6bULl+iMgrzB U+kozqm3rvvRg//dt6Ni5Qr2sYFMF6PPOqek05ctMhyiwD0rG3+/ua4rcX+QaVwkhLhM uZhw== X-Gm-Message-State: AOAM531Ij0J4jFGjejJ24/uPX9vFxuPCgCwz0fCIrKk3M1ova0PG+T8Z Un7c2YIAMagtugQUyWlVLfi9o4QpaKYWmy2/egA= X-Google-Smtp-Source: ABdhPJwkxrHDBczUPmSX2o9dFio52fJGmL8nxLr/LEQvYR7+a1g3+Uy8CqkUpaBBewdSo84gEUO66fk3LM9jwA9mjBE= X-Received: by 2002:aca:3043:: with SMTP id w64mr14156626oiw.27.1593932461267; Sun, 05 Jul 2020 00:01:01 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kevin Oberman Date: Sun, 5 Jul 2020 00:00:44 -0700 Message-ID: Subject: Re: Porting Practice To: Jonathan Chen Cc: Brandon helsley , freebsd-ports X-Rspamd-Queue-Id: 4B003L5cT7z4ZMV X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=f4nSwjLU; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::230 as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-2.90 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.002]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; NEURAL_HAM_LONG(-1.02)[-1.024]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::230:from]; NEURAL_HAM_SHORT(-0.17)[-0.170]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; RCVD_TLS_ALL(0.00)[]; FREEMAIL_CC(0.00)[hotmail.com,freebsd.org] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jul 2020 07:01:03 -0000 Please be aware that this port is maintained by x11@freebsd.org and anyone who is subscribed to the x11 mailing list will get the portscout messaged. This does not mean it is intended that aloof those who subscribe to x11 are responsible for making repaired. If you have not done so, check bugzilla for any existing PR and, if there is one, check it in case it is already being worked. If not, attach your patch to that PR with a description of the fix. If there is no PR, you should open a ticket in the bugzilla with a subject "[patch] x11/nvidea-settings Fix compilation errors". Attach the patch and select "Maintainer approval requested". Include a description of the problem and how you patch fixes it. The leader of the x11 project Nicklas Zeising, is responsible for approving it. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 On Sat, Jul 4, 2020 at 10:33 PM Jonathan Chen wrote: > On Sun, 5 Jul 2020 at 14:06, Brandon helsley > wrote: > [...] > > > > Yes it does, I understand how it works now, I just needed an example, > and I can compare this with other methods to figure it out. How do you get > the port working in your directory? > > In general: > 1. extract the original sources elsewhere > 2. hack it to compile > 3. compare the hacks against the original sources again to generate diffs. > 4. put the diffs into the files/ directory of the port > 5. Tweak the Makefile for all targets (fetch, extract, build, stage, etc) > > Cheers. > -- > Jonathan Chen > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >