From 75a014e26024a9e9fbaa392b41fa498ce68d807f Mon Sep 17 00:00:00 2001 From: jmc Date: Mon, 10 Mar 2003 04:09:04 +0000 Subject: Needs -Wl,-R (or the equiv) when linking libgc. Pass _OPSYS_RPATH_NAME in and use that accordingly --- lang/mercury/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lang/mercury/Makefile') diff --git a/lang/mercury/Makefile b/lang/mercury/Makefile index 9ae572d4584..52bca5d2012 100644 --- a/lang/mercury/Makefile +++ b/lang/mercury/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2002/03/18 07:58:35 fredb Exp $ +# $NetBSD: Makefile,v 1.7 2003/03/10 04:09:04 jmc Exp $ DISTNAME= mercury-compiler-0.10.1 PKGNAME= mercury-0.10.1 @@ -23,6 +23,7 @@ CONFIGURE_ENV+= BOEHM_GC_DIR=${BOEHM_GC_DIR} # Some of the scripts test CC and use special settings for gcc. CONFIGURE_ENV+= CC=gcc +MAKE_ENV+= _OPSYS_RPATH_NAME=${_OPSYS_RPATH_NAME} post-install: ${INSTALL_DATA_DIR} ${PREFIX}/lib/mercury/lib/${MACHINE_GNU_PLATFORM} -- cgit v1.2.3