summaryrefslogtreecommitdiff
path: root/databases/openldap
diff options
context:
space:
mode:
authorjlam <jlam>2002-03-07 23:40:56 +0000
committerjlam <jlam>2002-03-07 23:40:56 +0000
commit0631857c8628cea8b7da4cdd9cdbc68e0e53782a (patch)
tree52f9c5eda9706d84e4521bc35ba690fbb415e118 /databases/openldap
parentca9537861c2f6547de85d685b060db331e9ba451 (diff)
downloadpkgsrc-0631857c8628cea8b7da4cdd9cdbc68e0e53782a.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