pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/27242



The following reply was made to PR pkg/27242; it has been noted by GNATS.

From: Sven Hartge <sven.hartge%dvz.fh-giessen.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/27242
Date: Fri, 30 Sep 2005 13:31:10 +0200

 This is a multi-part message in MIME format.
 --------------090805050708040901060501
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 8bit
 
 Hello.
 
 Using the recently introduces options.mk, I added options for openldap, 
 mysql, eximon and dnsdb. This should satisfy most needs concerning lookups.
 
 See the attached patch against pkgsrc-2005Q3
 
 Grüße,
 Sven Hartge
 
 --------------090805050708040901060501
 Content-Type: text/plain;
  name="exim-openldap-mysql-eximon.patch"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="exim-openldap-mysql-eximon.patch"
 
 Index: options.mk
 ===================================================================
 RCS file: /cvsroot/pkgsrc/mail/exim/options.mk,v
 retrieving revision 1.1
 diff -u -r1.1 options.mk
 --- options.mk 10 Sep 2005 23:11:40 -0000      1.1
 +++ options.mk 30 Sep 2005 11:17:55 -0000
 @@ -2,11 +2,34 @@
  
  PKG_OPTIONS_VAR=      PKG_OPTIONS.exim
  PKG_SUPPORTED_OPTIONS=        content_scan gdmb lookup_dsearch lookup_whoson
 -PKG_SUPPORTED_OPTIONS+=       old_demime saslauthd
 -PKG_SUGGESTED_OPTIONS=        content_scan lookup_dsearch old_demime
 +PKG_SUPPORTED_OPTIONS+=       old_demime saslauthd lookup_ldap lookup_mysql 
lookup_dnsdb
 +PKG_SUPPORTED_OPTIONS+= build_eximon
 +PKG_SUGGESTED_OPTIONS=        content_scan lookup_dsearch old_demime 
lookup_dnsdb
  
  .include "../../mk/bsd.options.mk"
  
 +.if !empty(PKG_OPTIONS:Mlookup_dndsb)
 +LOCAL_MAKEFILE_OPTIONS+=LOOKUP_DNSDB=YES
 +.endif
 +
 +.if !empty(PKG_OPTIONS:Mlookup_ldap)
 +LOCAL_MAKEFILE_OPTIONS+=LOOKUP_LDAP=YES
 +LOCAL_MAKEFILE_OPTIONS+=LDAP_LIB_TYPE=OPENLDAP2
 +LOOKUP_LIBS+=${COMPILER_RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.openldap} 
 -L${LOCALBASE}/${BUILDLINK_LIBDIRS.openldap} -lldap -llber 
 +.  include "../../databases/openldap/buildlink3.mk"
 +.endif
 +
 +.if !empty(PKG_OPTIONS:Mlookup_mysql)
 +LOCAL_MAKEFILE_OPTIONS+=LOOKUP_MYSQL=YES
 +LOOKUP_LIBS+=${COMPILER_RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.mysql}  
-L${LOCALBASE}/${BUILDLINK_LIBDIRS.mysql} -lmysqlclient
 +.  include "../../mk/mysql.buildlink3.mk"
 +.endif
 +
 +.if !empty(PKG_OPTIONS:Mbuild_eximon)
 +LOCAL_MAKEFILE_OPTIONS+=EXIM_MONITOR=eximon.bin
 +USE_X11BASE=yes
 +.endif
 +
  .if !empty(PKG_OPTIONS:Mlookup_dsearch)
  LOCAL_MAKEFILE_OPTIONS+=LOOKUP_DSEARCH=YES
  .endif
 
 --------------090805050708040901060501--
 



Home | Main Index | Thread Index | Old Index