Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2002 16:29:08 +0100
From:      Roman Neuhauser <neuhauser@bellavista.cz>
To:        admin@shana.tecpro.com
Cc:        questions@freebsd.org
Subject:   Re: correct syntax for compiling drac for use with postfix
Message-ID:  <20021213152908.GM56031@freepuppy.bellavista.cz>
In-Reply-To: <2462.66.83.118.62.1039387720.squirrel@shana.tecpro.com>
References:  <2462.66.83.118.62.1039387720.squirrel@shana.tecpro.com>

next in thread | previous in thread | raw e-mail | index | archive | help
# admin@shana.tecpro.com / 2002-12-08 17:48:40 -0500:
> Sorry for the dumb question, but is the proper syntax for installing
> drac on a machine running postfix as follows:
>    make install -DWITH_POSTFIX=yes

    make(1) has many quirks, but the basic syntax is very simple.
    understanding make(1) will improve your life! seriously, you can get
    much more from the ports if you know how the system works.

    roman@freepuppy ~/tmp 1020:0 > < Makefile 
    all:
    .if defined(FOO)
    	@echo "\$${FOO} is defined"
    	@echo "\$${FOO}: '${FOO}'"
    .else
    	@echo "\$${FOO} is undefined"
    .endif

    .PHONY: all

    roman@freepuppy ~/tmp 1021:0 > make -DFOO=yes
    ${FOO} is undefined
    roman@freepuppy ~/tmp 1022:0 > make -DFOO    
    ${FOO} is defined
    ${FOO}: '1'
    roman@freepuppy ~/tmp 1023:0 > make FOO=yes  
    ${FOO} is defined
    ${FOO}: 'yes'
    roman@freepuppy ~/tmp 1024:0 > 

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.    see http://www.eyrie.org./~eagle/faqs/questions.html

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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