aboutsummaryrefslogtreecommitdiff
path: root/sysutils/lookupd_ldap
diff options
context:
space:
mode:
authorStefan Walter <stefan@FreeBSD.org>2006-10-08 18:36:10 +0000
committerStefan Walter <stefan@FreeBSD.org>2006-10-08 18:36:10 +0000
commitb56df2cd1ac907c00ab32f56fbd24c8dde95ba47 (patch)
treeb35bb3013f518be1badab8a9467a7e661c33435f /sysutils/lookupd_ldap
parenta77cd0ad54918aea06be149b1d5076c07279bbe1 (diff)
downloadports-b56df2cd1ac907c00ab32f56fbd24c8dde95ba47.tar.gz
ports-b56df2cd1ac907c00ab32f56fbd24c8dde95ba47.zip
- 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)
Notes
Notes: svn path=/head/; revision=174987
Diffstat (limited to 'sysutils/lookupd_ldap')
-rw-r--r--sysutils/lookupd_ldap/Makefile9
-rw-r--r--sysutils/lookupd_ldap/files/patch-Makefile14
-rw-r--r--sysutils/lookupd_ldap/pkg-plist2
3 files changed, 18 insertions, 7 deletions
diff --git a/sysutils/lookupd_ldap/Makefile b/sysutils/lookupd_ldap/Makefile
index 4adc79ea3d1d..418c766985e0 100644
--- a/sysutils/lookupd_ldap/Makefile
+++ b/sysutils/lookupd_ldap/Makefile
@@ -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}
diff --git a/sysutils/lookupd_ldap/files/patch-Makefile b/sysutils/lookupd_ldap/files/patch-Makefile
new file mode 100644
index 000000000000..a502609e5866
--- /dev/null
+++ b/sysutils/lookupd_ldap/files/patch-Makefile
@@ -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>
diff --git a/sysutils/lookupd_ldap/pkg-plist b/sysutils/lookupd_ldap/pkg-plist
deleted file mode 100644
index 5c6af152cd1f..000000000000
--- a/sysutils/lookupd_ldap/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-lib/lkpd_ldap.so
-lib/lkpd_ldap.so.1