From 4518b0b05210c6614e604c3ae9d3c5c61cf3e79e Mon Sep 17 00:00:00 2001 From: wiz Date: Sat, 2 Sep 2000 18:49:38 +0000 Subject: add missing -Wl,-R for advice_srv (noted in hubertf's bulk build) --- net/coda_client/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/net/coda_client/Makefile b/net/coda_client/Makefile index ce185f7954c..c1351c7bbae 100644 --- a/net/coda_client/Makefile +++ b/net/coda_client/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2000/07/20 15:41:06 tron Exp $ +# $NetBSD: Makefile,v 1.13 2000/09/02 18:49:38 wiz Exp $ # DISTNAME= coda-4.6.6 @@ -23,4 +23,12 @@ USE_PERL5= yes GNU_CONFIGURE= yes USE_GMAKE= yes +pre-configure: + cd ${WRKSRC} && \ + for F in coda-src/advice/Makefile.in; do \ + ${SED} -e "s_-lgdbm_-Wl,-R${PREFIX}/lib -L${PREFIX}/lib -lgdbm_"\ + < $$F > $$F.patched && \ + ${MV} $$F.patched $$F; \ + done + .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3