Date: Tue, 16 Dec 1997 16:57:31 -0800 (PST) From: asami@cs.berkeley.edu (Satoshi Asami) To: vanilla@FreeBSD.ORG Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-ports@FreeBSD.ORG Subject: Re: cvs commit: ports/chinese/xcin - Imported sources Message-ID: <199712170057.QAA04736@vader.cs.berkeley.edu> In-Reply-To: <199712151757.JAA17726@freefall.freebsd.org> (vanilla@FreeBSD.ORG)
next in thread | previous in thread | raw e-mail | index | archive | help
* xcin is a chinese input program. Thanks, a couple of questions.... (1) CONFIGURE_ARGS is defined by "+=" in two places in the Makefile. As far as I can tell, the first one can be "=". (2) What's the purpose of this "pre-configure" rule? === .if !defined(USE_24_FONT) pre-fetch: @echo @echo You can set USE_24_FONT=YES if you want to use 24 fonts @echo as default when xcin is running. @echo .else pre-configure: CONFIGURE_ARGS+=-use-24-fonts .endif === Variables aren't defined in rules, so I think this should be what you wanted to do (also reversed the order of conditionals, I generally don't use "!foo" when there are both then and else clauses. === .if defined(USE_24_FONT) CONFIGURE_ARGS+=-use-24-fonts .else pre-fetch: @echo @echo You can set USE_24_FONT=YES if you want to use 24 fonts @echo as default when xcin is running. @echo .endif === Satoshi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712170057.QAA04736>