aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-08-17 02:21:35 +0800
committeradamw <adamw@FreeBSD.org>2014-08-17 02:21:35 +0800
commit55b792aece90f81c8e685512a8bf34b96ebf1f7a (patch)
treee618d8596fb60c434e0b6f7c6f6a486186d00aba
parent0c5c1058f70d4f3cffa6a0da3011ada8a9f1bb0b (diff)
downloadfreebsd-ports-gnome-55b792aece90f81c8e685512a8bf34b96ebf1f7a.tar.gz
freebsd-ports-gnome-55b792aece90f81c8e685512a8bf34b96ebf1f7a.tar.zst
freebsd-ports-gnome-55b792aece90f81c8e685512a8bf34b96ebf1f7a.zip
Fix build on -current.
-rw-r--r--lang/gnu-cobol/Makefile3
1 files changed, 2 insertions, 1 deletions
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 <bsd.port.mk>