Hi there,

Hirohisa Yamaguchi:
> Hi,
> 
> On Thu, Aug 7, 2008 at 5:44 AM, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote:
>> I used the ports system and frankly have no idea it the -g flag was passed
>> or whatever. But I was wondering if there is a way to check that?
> 
>> I can see the following lines in the port's Makefile:
> 
>> .if defined(WITH_DEBUG)
>> SITE_SUB+=   -e '\|confOPTIMIZE.*-g|s/^dnl //g'
>> .endif
> 
>> Does this mean it was compiled with the -g flag? Sorry to bother and
>> thanks for your assistance!
> 
> The -g flag is not set by default.
> You can add a argument like -DWITH_DEBUG (or WITH_DEBUG=yes) to make
> the filter with -g flag on.
> 
> ;; with ports-mgmt/portupgrade you can do it like following:
> ;; # portupgrade -f -m'WITH_DEBUG=yes' mail/dkim-milter
This was very helpful. I forced the upgrade to build the milter with 
debug option. Now I am waiting for the dump. Thank you!

One thing that always puzzled me.
$ ls /usr/ports/mail |grep dkim
dkim-milter

$ ps ax |grep dkim
/usr/local/libexec/dkim-filter

$ ls /usr/local/etc/rc.d/ |grep dkim
milter-dkim

As you can see there are 3 names for the same software. I am sure there 
must be some reason for it? I always get lost what the start-up script 
is called... ;)

-- 
Zbigniew Szalbot
www.LCWords.com

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
dkim-milter-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dkim-milter-discuss

Reply via email to