From owner-freebsd-ports Sun Jun 10 9:14:37 2001 Delivered-To: freebsd-ports@freebsd.org Received: from kawoserv.kawo2.rwth-aachen.de (kawoserv.kawo2.RWTH-Aachen.DE [134.130.180.1]) by hub.freebsd.org (Postfix) with ESMTP id B2BF537B401 for ; Sun, 10 Jun 2001 09:14:30 -0700 (PDT) (envelope-from doegi@kawo2.rwth-aachen.de) Received: (from doegi@localhost) by kawoserv.kawo2.rwth-aachen.de (8.9.3/8.9.3) id SAA22812; Sun, 10 Jun 2001 18:14:28 +0200 Date: Sun, 10 Jun 2001 18:14:28 +0200 From: Alexander Langer To: Sheldon Hearn Cc: ports@FreeBSD.ORG Subject: Re: cvs commit: ports/mail/exim Makefile Message-ID: <20010610181428.A22625@kawoserv.kawo2.rwth-aachen.de> Mail-Followup-To: Sheldon Hearn , ports@FreeBSD.ORG References: <20010610152115.B17242@kawoserv.kawo2.rwth-aachen.de> <13767.992180414@axl.seasidesoftware.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: <13767.992180414@axl.seasidesoftware.co.za> X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-PGP-at: finger alex@big.endian.de X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. 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 Thus spake Sheldon Hearn (sheldonh@starjuice.net): > > > cd /path/to/ports/mail/exim > > > make WITH_MAILDIR=no WITH_MAILSTORE=no WITH_MBX=no > > This should be WITHOUT_* > When did that become a rule? I missed it being added to the porters' > handbook, sorry. This is not a written rule. However, almost all other ports only use .if defined(variable) and don't depend on the values. It's commonly known and used everywhere, e.g. when helping newbies on freebsd-questions etc. (usually make -DWITH_FOO -DWITHOUT_X11 etc) Everything else is against POLA, imo. > I'm not convinced it's sucha hot idea, though. What am I supposed to do > when the operator does this: > make -DWITH_MAILDIR -DWITHOUT_MAILDIR If maildir is the default and you want to turn it off, you only check for WITHOUT_*. -DWITH_MAILDIR has no effect (since it makes no sense). Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message