summaryrefslogtreecommitdiff
path: root/databases/openldap
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-03-07 23:40:56 +0000
committerjlam <jlam@pkgsrc.org>2002-03-07 23:40:56 +0000
commit43c1145f9148bc3545ec1d8afdeeb5e94f4308dd (patch)
tree52f9c5eda9706d84e4521bc35ba690fbb415e118 /databases/openldap
parente191bdff56902eea6cd55e44cb9229e3fc35cf6a (diff)
downloadpkgsrc-43c1145f9148bc3545ec1d8afdeeb5e94f4308dd.tar.gz
Remove odd -L${WRKSRC}/libraries junk from openldap libtool archives.
Fixes part of pkg/15794 by Bernd Ernesti <bernd@arresum.inka.de>. This wasn't actually a buildlink problem, but buildlink is flexible enough to provide a solution.
Diffstat (limited to 'databases/openldap')
-rw-r--r--databases/openldap/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/openldap/Makefile b/databases/openldap/Makefile
index c4ed05c69e6..2cb5a9b653c 100644
--- a/databases/openldap/Makefile
+++ b/databases/openldap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2002/02/13 12:21:24 martti Exp $
+# $NetBSD: Makefile,v 1.42 2002/03/07 23:40:56 jlam Exp $
DISTNAME= openldap-2.0.23
SVR4_PKGNAME= oldap
@@ -13,6 +13,8 @@ COMMENT= Lightweight directory access protocol server and client package
CONFLICTS+= ldapsdk-[0-9]*
USE_BUILDLINK_ONLY= YES
+REPLACE_BUILDLINK_SED+= -e "s|-L${WRKSRC}/libraries||g"
+
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/build/ltconfig