Ticket #6786 (closed enhancement: fixed)
Postfix with LDAP support.
| Reported by: | eloy.de.enige@… | Owned by: | yeled@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.0 |
| Keywords: | Cc: | yeled@…, eloy.de.enige@… | |
| Port: |
Description
Hello,
I've changed the postfix Portfile to include a ldap variant. I have pasted the diff below, but I don't think that I did it the right way. Because when I only put build.env-append CCARGS=-DHAS_LDAP then the default option of CCARGS=-DNO_PCRE gets overwritten :( That's why for the moment I've made it CCARGS="-DNO_PCRE -DHAS_LDAP". And I also believe the quotes are a no-no?? But you guys will probably see it directly :)
Kind regards, Eloy Duran.
Postfix Portfile diff: 117,121d116 < variant ldap { < build.env-append CCARGS="-DNO_PCRE -DHAS_LDAP" < build.env-append AUXLIBS="-L$prefix/lib -lldap -L$prefix/lib -llber" < } <
Change History
comment:3 Changed 7 years ago by olegb@…
- Owner changed from darwinports-bugs@… to yeled@…
Charlie: is this any good ?
comment:4 Changed 7 years ago by eloy.de.enige@…
Well I'm quite sure (as I stated earlier) that the way I implemented it is not the way it should be done. I tried looking for specific darwinports documentation about how to add extra env arguments etc. but didn't find the way it should be done :)
Regards, Eloy.
comment:5 Changed 7 years ago by yeled@…
- Status changed from new to assigned
- Cc yeled@… added; charlie@… removed
yes is believe it is ok - ill test later this weekend.

