Subject: PCRE-6.7 installed, postfix from pkgsrc compiles -DNO_PCRE
To: None <netbsd-help@NetBSD.org>
From: Paul Newhouse <newhouse@rockhead.com>
List: netbsd-help
Date: 07/17/2007 16:27:16
Running 3.1.

I curious why postfix will not compile with pcre-6.7.

PCRE-6.7 is installed:

  #: pkg_info pcre                            
  Information for pcre-6.7:
  
  Comment:
  Perl Compatible Regular Expressions library
  
  Required by:
  courier-maildir-0.53.2
  maildrop-2.0.2
  R-2.4.1nb2
  pcre++-0.9.5nb1
  pcre-ocaml-5.10.3nb1
  nmap-4.20
  
  Description:
  PCRE is a Perl compatible library of regular expressions.  They
  are based on a completely separate code-base from Henry Spencers
  originals.  It has been designed to make efficient use of memory
  for compiled regex's.
  
  Homepage:
  http://www.pcre.org/

Yet make in pkgsrc/mail/postfix-current produces -DNO_PCRE?

   cc -DDEF_QUEUE_DIR=\"/var/spool/postfix\" -DDEF_DAEMON_DIR=\"/usr/pkg/libexec/postfix\"  \
	 -DDEF_COMMAND_DIR=\"/usr/pkg/sbin\" -DDEF_CONFIG_DIR=\"/usr/pkg/etc/postfix\"          \
	 -DDEF_SENDMAIL_PATH=\"/usr/pkg/sbin/sendmail\" -DDEF_MAILQ_PATH=\"/usr/pkg/bin/mailq\" \
	 -DDEF_NEWALIAS_PATH=\"/usr/pkg/bin/newaliases\" -DDEF_MANPAGE_DIR=\"/usr/pkg/man\"     \
	 -DDEF_SAMPLE_DIR=\"/usr/pkg/share/examples/postfix\"                                   \
	 -DDEF_README_DIR=\"/usr/pkg/share/doc/postfix\" -DHAS_DB                               \
	 -DNO_PCRE                                                                              \ <<<
	 -DSNAPSHOT -O2 -I/usr/include -I. -I../../include -DNETBSD3 -o flush flush.o           \
	 ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a -L /usr/lib            \
	 -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib

Where did I go wrong?

TIA,
Paul