From owner-freebsd-ports Sun Feb 16 7: 5:42 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6221D37B401 for ; Sun, 16 Feb 2003 07:05:41 -0800 (PST) Received: from anchor-post-39.mail.demon.net (anchor-post-39.mail.demon.net [194.217.242.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id A091A43F85 for ; Sun, 16 Feb 2003 07:05:40 -0800 (PST) (envelope-from kevin@caomhin.demon.co.uk) Received: from caomhin.demon.co.uk ([62.49.21.186]) by anchor-post-39.mail.demon.net with esmtp (Exim 3.36 #2) id 18kQMN-00003M-0d for ports@FreeBSD.org; Sun, 16 Feb 2003 15:05:39 +0000 Message-ID: Date: Sun, 16 Feb 2003 15:04:34 +0000 To: ports@freebsd.org From: Kevin Golding Subject: Patching for PREFIX MIME-Version: 1.0 X-Mailer: Turnpike Integrated Version 5.01 U Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I'm making a port of some Perl scripts which have the path to a config file hard coded into them and I'm wondering what's the best approach. Basically I want to change /etc to $PREFIX/etc but I need $PREFIX to be expanded before the patch is applied. Any ideas? Thanks, Kevin -- kevin@caomhin.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message