summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-09-02 18:49:38 +0000
committerwiz <wiz@pkgsrc.org>2000-09-02 18:49:38 +0000
commit4518b0b05210c6614e604c3ae9d3c5c61cf3e79e (patch)
tree22293ac8c7fffa9be1cc4a0054c8ad6135586644
parentca61e18732d19d7c451a64f253f21b4d6b7e850a (diff)
downloadpkgsrc-4518b0b05210c6614e604c3ae9d3c5c61cf3e79e.tar.gz
add missing -Wl,-R for advice_srv (noted in hubertf's bulk build)
-rw-r--r--net/coda_client/Makefile10
1 files changed, 9 insertions, 1 deletions
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"