From owner-freebsd-ports@FreeBSD.ORG Tue Aug 24 08:20:01 2004 Return-Path: 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 562C916A4CE for ; Tue, 24 Aug 2004 08:20:01 +0000 (GMT) Received: from pfepb.post.tele.dk (pfepb.post.tele.dk [195.41.46.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4DEB43D48 for ; Tue, 24 Aug 2004 08:20:00 +0000 (GMT) (envelope-from xi@borderworlds.dk) Received: from ferengi.borderworlds.dk (ferengi.borderworlds.dk [80.166.152.7]) by pfepb.post.tele.dk (Postfix) with ESMTP id EF3C05EE03B for ; Tue, 24 Aug 2004 10:19:58 +0200 (CEST) Received: from borg.borderworlds.dk (localhost [127.0.0.1]) by ferengi.borderworlds.dk (Postfix) with ESMTP id 8D6AAB826 for ; Tue, 24 Aug 2004 10:19:57 +0200 (CEST) Received: by borg.borderworlds.dk (Postfix, from userid 1001) id 4994AB87B; Tue, 24 Aug 2004 10:19:57 +0200 (CEST) Sender: xi@borderworlds.dk To: ports@freebsd.org From: Christian Laursen Date: 24 Aug 2004 10:19:57 +0200 Message-ID: <86vff9q76a.fsf@borg.borderworlds.dk> Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Problem with OPTIONS, USE_PHP and bsd.port.pre.mk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 08:20:01 -0000 I'm trying to add two knobs to the mail/mlmmj port that I maintain. It is almost working, but I have one problem left which I can't figure out. The Makefile is here: http://borderworlds.dk/~xi/Makefile The problem is this: - USE_PHP has to come before the inclusion of bsd.port.pre.mk - WITH_PHP_WEBINTERFACE is not defined until after the inclusion of bsd.port.pre.mk Is there some way to solve this without hardcoding the php dependency which I really would like to avoid. The perl dependencies work fine and gets registered properly. Thanks in advance. -- Christian Laursen