From owner-freebsd-ports Sun Aug 29 20:29:10 1999 Delivered-To: freebsd-ports@freebsd.org Received: from smtp11.bellglobal.com (smtp11.bellglobal.com [204.101.251.53]) by hub.freebsd.org (Postfix) with ESMTP id 4E8C2151D7 for ; Sun, 29 Aug 1999 20:29:07 -0700 (PDT) (envelope-from vanderh@ecf.toronto.edu) Received: from ppp18415.on.bellglobal.com (Hamilton-ppp44868.sympatico.ca [206.172.76.61]) by smtp11.bellglobal.com (8.8.5/8.8.5) with ESMTP id XAA21777; Sun, 29 Aug 1999 23:32:42 -0400 (EDT) Received: (from tim@localhost) by ppp18415.on.bellglobal.com (8.9.3/8.9.1) id XAA64950; Sun, 29 Aug 1999 23:29:28 -0400 (EDT) (envelope-from tim) Date: Sun, 29 Aug 1999 23:29:28 -0400 From: Tim Vanderhoek To: Pavlin Ivanov Radoslavov Cc: freebsd-ports@freebsd.org Subject: Re: Patching the patches? Message-ID: <19990829232927.B64768@ppp18415.on.bellglobal.com> Reply-To: hoek@freebsd.org References: <199908292114.OAA51025@rumi.usc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <199908292114.OAA51025@rumi.usc.edu>; from Pavlin Ivanov Radoslavov on Sun, Aug 29, 1999 at 02:14:41PM -0700 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, Aug 29, 1999 at 02:14:41PM -0700, Pavlin Ivanov Radoslavov wrote: > > I was wondering whether there is an automatic method to > change/modify the patches/* files according to the configuration in > bsd.port.mk before applying them. The patches/* files are supposed to adapt themselves to the configuration in bsd.port.mk, not the other way around. From your description, adding -DPREFIX=${PREFIX} (and more?) to CFLAGS and then modifying patches/* to use these new defines, sounds like the easiest fix. If you have an up-to-date port, you are welcome to submit a bug-report (send-pr(1)) with your changes. Consider contacting the MAINTAINER first. -- This is my .signature which gets appended to the end of my messages. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message