From f69d0aee59b843edb712e3c7201d67c1860a9902 Mon Sep 17 00:00:00 2001 From: jlam Date: Fri, 14 Mar 2003 19:37:30 +0000 Subject: (1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG; Makefiles simply need to use this value often, for better or for worse. (2) Create a new variable FIX_RPATH that lists variables that should be cleansed of -R or -rpath values if ${_USE_RPATH} is "no". By default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and additional variables may be appended from package Makefiles. --- net/bind9/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net/bind9') diff --git a/net/bind9/Makefile b/net/bind9/Makefile index 30b5a772b5a..f95cbefd610 100644 --- a/net/bind9/Makefile +++ b/net/bind9/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.47 2003/03/10 03:01:09 hubertf Exp $ +# $NetBSD: Makefile,v 1.48 2003/03/14 19:37:52 jlam Exp $ # DISTNAME= bind-${BIND_VERSION} @@ -26,7 +26,7 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-libtool=yes \ --sysconfdir=/etc \ --localstatedir=/var -#LDFLAGS+= -Wl,-R${LOCALBASE}/pthreads/lib -L${LOCALBASE}/pthreads/lib +#LDFLAGS+= -Wl,${RPATH_FLAG}${LOCALBASE}/pthreads/lib -L${LOCALBASE}/pthreads/lib # use external OpenSSL. comment out the following line and the buildlink # include at the bottom to use OpenSSL shipped with BIND9. CONFIGURE_ARGS+=--with-openssl=${SSLBASE} -- cgit v1.2.3