From owner-freebsd-ports@FreeBSD.ORG Sun Apr 24 14:01:03 2005 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 5E70C16A4CE for ; Sun, 24 Apr 2005 14:01:03 +0000 (GMT) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [83.136.81.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6070443D41 for ; Sun, 24 Apr 2005 14:01:02 +0000 (GMT) (envelope-from lehmann@ans-netz.de) Received: (qmail 86937 invoked by uid 89); 24 Apr 2005 14:00:52 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (83.136.81.185) by avocado.salatschuessel.net with SMTP; 24 Apr 2005 14:00:52 -0000 Date: Sun, 24 Apr 2005 16:00:57 +0200 From: Oliver Lehmann To: Oliver Lehmann Message-Id: <20050424160057.061d0889.lehmann@ans-netz.de> In-Reply-To: <20050424153247.645303ab.lehmann@ans-netz.de> References: <20050414111426.775f6afd.lehmann@ans-netz.de> <200504240933.08799.josemi@redesjm.local> <200504241013.26838.ports@dino.sk> <200504241242.45611.josemi@redesjm.local> <20050424153247.645303ab.lehmann@ans-netz.de> X-Mailer: Sylpheed version 1.9.9 (GTK+ 2.6.7; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: ports@dino.sk cc: josemi@freebsd.jazztel.es cc: freebsd-ports@freebsd.org cc: yds@CoolRat.org Subject: Re: splitting courier-authlib into master+slave ports 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: Sun, 24 Apr 2005 14:01:03 -0000 Oliver Lehmann wrote: > I might reconsider taking Yarema's > Makefile.opt idea. Include that in every port that depends on courier- > authlib and choose there what auth. methods to install. Ok, I reconsidered that now ;) I created a Makefile.opt and a Makefile.dep file which can be included in every port that depends on courier-authlib. .if exists(${.CURDIR}/../../security/courier-authlib/Makefile.opt) .include <${.CURDIR}/../../security/courier-authlib/Makefile.opt> .endif .include .if exists(${.CURDIR}/../../security/courier-authlib/Makefile.dep) .include <${.CURDIR}/../../security/courier-authlib/Makefile.dep> .endif This can be put between the ports own OPTIONS= and .if defined(WITH_*) sections (it will honor original OPTIONS) I've renamed the options to AUTH_* to make it possible that the original port specifies it's own LDAP/MYSQL/... OPTION -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/