diff options
author | stefan <stefan@FreeBSD.org> | 2006-10-09 02:36:10 +0800 |
---|---|---|
committer | stefan <stefan@FreeBSD.org> | 2006-10-09 02:36:10 +0800 |
commit | d69618ad5e0f2841e871d31cbe2aae95ae523f76 (patch) | |
tree | 55e6c0fd6fcaa87e24e57369e0ff7fe7c253c231 /sysutils/lookupd_ldap | |
parent | 5f935638be7c207148bcf778b38e3dc6667194ab (diff) | |
download | freebsd-ports-gnome-d69618ad5e0f2841e871d31cbe2aae95ae523f76.tar.gz freebsd-ports-gnome-d69618ad5e0f2841e871d31cbe2aae95ae523f76.tar.zst freebsd-ports-gnome-d69618ad5e0f2841e871d31cbe2aae95ae523f76.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)
Diffstat (limited to 'sysutils/lookupd_ldap')
-rw-r--r-- | sysutils/lookupd_ldap/Makefile | 9 | ||||
-rw-r--r-- | sysutils/lookupd_ldap/files/patch-Makefile | 14 | ||||
-rw-r--r-- | sysutils/lookupd_ldap/pkg-plist | 2 |
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 |