PORTNAME= lookupd_ldap
PORTVERSION= 0.1.a
PORTREVISION= 1
CATEGORIES= sysutils net
MASTER_SITES= http://www.rsu.ru/~bushman/lookupd/ldap/downloads/
BUILD_DEPENDS= ${LOCALBASE}/sbin/lookupd:${PORTSDIR}/sysutils/lookupd
BROKEN= Does not compile
USE_LDCONFIG= yes
DEPRECATED= ${BROKEN}
EXPIRATION_DATE=2006-12-01
INSTALLS_SHLIB= yes
USE_OPENLDAP= yes
PLIST_FILES= lib/lkpd_ldap.so lib/lkpd_ldap.so.1
post-install:
@${CAT} ${PKGMESSAGE}
lib/lkpd_ldap.so
lib/lkpd_ldap.so.1
--- Makefile.orig Sat Oct 7 19:15:49 2006
+++ Makefile Sat Oct 7 19:17:26 2006
@@ -13,8 +13,9 @@
WARNS?=2
STRIP=
-LDFLAGS+=-nostdlib -lc -shared -L${PREFIX}/lib -lldap_r
-CFLAGS+=-pthread -I${PREFIX}/include/lookupd -I${PREFIX}/include
+LDFLAGS+=-nostdlib -lc -shared -L${LOCALBASE}/lib -lldap_r
+CFLAGS+=-pthread -I${LOCALBASE}/include/lookupd -I${LOCALBASE}/include \
+ -DLDAP_DEPRECATED=1
NOMAN= 1
.include <bsd.lib.mk>