freebsd-ports/sysutils/lookupd_ldap/files/patch-Makefile
Stefan Walter b56df2cd1a - 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)
2006-10-08 18:36:10 +00:00

14 lines
433 B
Text

--- 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>