From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 17:01:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D43F3106566B for ; Fri, 19 Mar 2010 17:01:02 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 9BF6E8FC22 for ; Fri, 19 Mar 2010 17:01:02 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so465765qwi.7 for ; Fri, 19 Mar 2010 10:01:01 -0700 (PDT) MIME-Version: 1.0 Sender: aimass@yabarana.com Received: by 10.229.35.80 with SMTP id o16mr4763557qcd.93.1269018061231; Fri, 19 Mar 2010 10:01:01 -0700 (PDT) In-Reply-To: <20100319165607.GH45355@eggman.experts-exchange.com> References: <20100319165607.GH45355@eggman.experts-exchange.com> Date: Fri, 19 Mar 2010 13:01:01 -0400 X-Google-Sender-Auth: 64a1685734c08515 Message-ID: From: Alejandro Imass To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Elegant way to hack port source X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2010 17:01:02 -0000 On Fri, Mar 19, 2010 at 12:56 PM, Jason wrote: > You can do it this way in the ports system: > > http://www.freebsd.org/doc/en/books/porters-handbook/slow-patch.html > > I handle all my patching for ports this way. Ok. I guess I'll stop my laziness and RT-W-FM! Thanks! Alejandro Imass > > -jgh > > On Fri, Mar 19, 2010 at 12:35:30PM -0400, Alejandro Imass thus spake: >> >> Hi, >> >> I need to modify a file from a port before building. Specifically, the >> sane-backends pnm.c driver has a bug and the folks at the original >> project has not fixed for a while. I need to modify pnm.c in the work >> directory before compiling. What is an elegant way of doing this? If I >> make and then modify, the main make file does not see the change made >> in the file and will not recompile. And since there is no actual >> makefile in the work subdirectory I can't compile there either! >> >> There must be a FreeBSD way of dealing with modifying a port source >> before compiling. Please advise. >> >> Thanks in advance, >> Alejandro Imass >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >