- Unbreak by defining LDAP_DEPRECATED for compilation.

- Respect PREFIX/LOCALBASE.
- s/INSTALLS_SHLIB/USE_LDCONFIG/.
- Move pkg-plist entries to PLIST_FILES.

PR:		102641
Submitted by:	FRLinux <frlinux@gmail.com>
Patch by:	stefan
Approved by:	maintainer timeout (>5 weeks)
This commit is contained in:
Stefan Walter 2006-10-08 18:36:10 +00:00
parent a77cd0ad54
commit b56df2cd1a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174987
3 changed files with 18 additions and 7 deletions

View File

@ -6,6 +6,7 @@
PORTNAME= lookupd_ldap
PORTVERSION= 0.1.a
PORTREVISION= 1
CATEGORIES= sysutils net
MASTER_SITES= http://www.rsu.ru/~bushman/lookupd/ldap/downloads/
@ -14,13 +15,11 @@ COMMENT= The LDAP plugin for the lookupd daemon
BUILD_DEPENDS= ${LOCALBASE}/sbin/lookupd:${PORTSDIR}/sysutils/lookupd
BROKEN= Does not compile
DEPRECATED= ${BROKEN}
EXPIRATION_DATE=2006-12-01
INSTALLS_SHLIB= yes
USE_LDCONFIG= yes
USE_OPENLDAP= yes
PLIST_FILES= lib/lkpd_ldap.so lib/lkpd_ldap.so.1
post-install:
@${CAT} ${PKGMESSAGE}

View File

@ -0,0 +1,14 @@
--- 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>

View File

@ -1,2 +0,0 @@
lib/lkpd_ldap.so
lib/lkpd_ldap.so.1