pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/33243: PgSQL lookup support in Exim
>Number: 33243
>Category: pkg
>Synopsis: Patch to add exim-lookup-pgsql option to Exim build
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Apr 12 00:35:00 +0000 2006
>Originator: theman%eradman.com@localhost
>Release: NetBSD 3.0_STABLE
>Organization:
Eric Radman
>Environment:
System: NetBSD am2800--nb0.teisprint.net 3.0_STABLE NetBSD 3.0_STABLE (OP250MP)
#1: Sun Apr 9 13:32:08 EDT 2006
eradman%am2800--nb0.teisprint.net@localhost:/usr/src/sys/arch/amd64/compile/OP250MP
amd64
Architecture: x86_64
Machine: amd64
>Description:
Exim supports PostgreSQL just as well as MySQL as long as it's built with it.
The only oddity that probably gives sys admins a headache when makeing this
change themselves is that the pgsql option is not apparent: -lpq vs.
-lmysqlclient
>How-To-Repeat:
>Fix:
*** options.mk Tue Apr 11 20:47:02 2006
--- options.mk.old Tue Apr 11 20:45:34 2006
***************
*** 3,11 ****
PKG_OPTIONS_VAR= PKG_OPTIONS.exim
PKG_SUPPORTED_OPTIONS= exim-build-eximon exim-content-scan
exim-lookup-dnsdb
PKG_SUPPORTED_OPTIONS+= exim-lookup-dsearch exim-lookup-ldap
exim-lookup-mysql
! PKG_SUPPORTED_OPTIONS+= exim-lookup-pgsql exim-lookup-whoson
exim-old-demime
! PKG_SUPPORTED_OPTIONS+= gdbm inet6 saslauthd exim-content-scan
! PKG_SUGGESTED_OPTIONS= exim-lookup-dsearch exim-old-demime
.include "../../mk/bsd.options.mk"
--- 3,10 ----
PKG_OPTIONS_VAR= PKG_OPTIONS.exim
PKG_SUPPORTED_OPTIONS= exim-build-eximon exim-content-scan
exim-lookup-dnsdb
PKG_SUPPORTED_OPTIONS+= exim-lookup-dsearch exim-lookup-ldap
exim-lookup-mysql
! PKG_SUPPORTED_OPTIONS+= exim-lookup-whoson exim-old-demime gdbm inet6
saslauthd
! PKG_SUGGESTED_OPTIONS= exim-content-scan exim-lookup-dsearch
exim-old-demime
.include "../../mk/bsd.options.mk"
***************
*** 43,54 ****
. include "../../mk/mysql.buildlink3.mk"
.endif
- .if !empty(PKG_OPTIONS:Mexim-lookup-pgsql)
- LOCAL_MAKEFILE_OPTIONS+=LOOKUP_PGSQL=YES
- LOOKUP_LIBS+=${COMPILER_RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.pgsql}
-L${LOCALBASE}/${BUILDLINK_LIBDIRS.pgsql} -lpq
- . include "../../mk/pgsql.buildlink3.mk"
- .endif
-
.if !empty(PKG_OPTIONS:Mexim-lookup-whoson)
LOCAL_MAKEFILE_OPTIONS+=LOOKUP_WHOSON=YES
LOOKUP_LIBS+=${COMPILER_RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.whoson}
-L${LOCALBASE}/${BUILDLINK_LIBDIRS.whoson} -lwhoson
--- 42,47 ----
Home |
Main Index |
Thread Index |
Old Index