diff options
author | Alexander Langer <alex@FreeBSD.org> | 2000-06-27 16:25:32 +0000 |
---|---|---|
committer | Alexander Langer <alex@FreeBSD.org> | 2000-06-27 16:25:32 +0000 |
commit | 67c99c8431ef41f28996af0f711a36315fcf71ae (patch) | |
tree | 3e7700d05c91f8be102ed41eaec15355187a30df /mail/pine4 | |
parent | e1866fd9d1189b1658a92dd305dc3b4dc2bc7238 (diff) |
Notes
Diffstat (limited to 'mail/pine4')
-rw-r--r-- | mail/pine4/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mail/pine4/Makefile b/mail/pine4/Makefile index b603e51ac322..3dfb296277ba 100644 --- a/mail/pine4/Makefile +++ b/mail/pine4/Makefile @@ -20,6 +20,15 @@ Y2K= http://www.washington.edu/pine/QandA/sysadmins.html#Millenium MAN1= pine.1 pico.1 pilot.1 +# Define "WITH_LDAP" to include ldap support. +# If the ldap port is installed somewhere other than /usr/local, define +# LDAP_PREFIX as well. +# +.if defined(WITH_LDAP) +LDAP_PREFIX?= ${LOCALBASE} +BUILD_DEPENDS+= ${LDAP_PREFIX}/lib/libldap.a:${PORTSDIR}/net/ldap +.endif + post-patch: for i in ${WRKSRC}/doc/pine.1 \ ${WRKSRC}/pine/init.c \ @@ -38,6 +47,11 @@ post-patch: $$i.sed >$$i ; \ ${RM} $$i.sed ; \ done +.if defined(WITH_LDAP) + -mkdir ${WRKSRC}/ldap + ln -sf ${LDAP_PREFIX}/include ${WRKSRC}/ldap/include + ln -sf ${LDAP_PREFIX}/lib ${WRKSRC}/ldap/libraries +.endif do-build: @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./build bsf) |