Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Apr 2005 16:00:57 +0200
From:      Oliver Lehmann <lehmann@ans-netz.de>
To:        Oliver Lehmann <lehmann@ans-netz.de>
Cc:        yds@CoolRat.org
Subject:   Re: splitting courier-authlib into master+slave ports
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk>
.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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050424160057.061d0889.lehmann>