From 6c871e60b1d6d867024bd0cbaf1c713e56618aa8 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Sat, 16 Aug 2014 18:21:35 +0000 Subject: [PATCH] Fix build on -current. --- lang/gnu-cobol/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lang/gnu-cobol/Makefile b/lang/gnu-cobol/Makefile index 74d1c102010e..c09cfe5cb9d4 100644 --- a/lang/gnu-cobol/Makefile +++ b/lang/gnu-cobol/Makefile @@ -28,6 +28,7 @@ CONFIGURE_ENABLE=nls post-patch: @${REINPLACE_CMD} -e 's|__gmp_randinit|__gmpz_init|g ; \ - s|db-4.[0-9]|${BDB_LIB_NAME}|g' ${WRKSRC}/configure + s|db-4.[0-9]|${BDB_LIB_NAME}|g ; \ + s|-R$$found_dir|-Wl,-rpath,$$found_dir|g' ${WRKSRC}/configure .include