From c67635060cd54b4f914d016d2d93bdcc9c66c834 Mon Sep 17 00:00:00 2001 From: jlam Date: Fri, 27 Aug 2004 06:29:06 +0000 Subject: Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG, which are the full option names used to set rpath directives for the linker and the compiler, respectively. In places were we are invoking the linker, use "${LINKER_RPATH_FLAG} ", where the space is inserted in case the flag is a word, e.g. -rpath. The default values of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the compiler that you use. They may be overridden on a ${OPSYS}-specific basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG, respectively. Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG. --- chat/eggdrop/patches/patch-ag | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chat/eggdrop/patches') diff --git a/chat/eggdrop/patches/patch-ag b/chat/eggdrop/patches/patch-ag index 7368af9184b..1297714f426 100644 --- a/chat/eggdrop/patches/patch-ag +++ b/chat/eggdrop/patches/patch-ag @@ -1,4 +1,4 @@ -$NetBSD: patch-ag,v 1.4 2003/05/24 16:43:06 salo Exp $ +$NetBSD: patch-ag,v 1.5 2004/08/27 06:29:06 jlam Exp $ --- Makefile.in.orig Tue Feb 27 20:06:27 2001 +++ Makefile.in Fri Nov 2 11:40:10 2001 @@ -7,7 +7,7 @@ $NetBSD: patch-ag,v 1.4 2003/05/24 16:43:06 salo Exp $ # make modules SHLIB_CC = @SHLIB_CC@ -SHLIB_LD = @SHLIB_LD@ -+SHLIB_LD = @SHLIB_LD@ $(RPATH_FLAG)@TCLLIB@ ++SHLIB_LD = @SHLIB_LD@ $(LINKER_RPATH_FLAG) @TCLLIB@ SHLIB_STRIP = @SHLIB_STRIP@ MOD_EXT = @MOD_EXT@ @@ -15,7 +15,7 @@ $NetBSD: patch-ag,v 1.4 2003/05/24 16:43:06 salo Exp $ # stuff for Tcl XREQS = @TCL_REQS@ XLIBS = @TCL_LIBS@ @LIBS@ -+XLDFLAGS = -Wl,$(RPATH_FLAG)@TCLLIB@ ++XLDFLAGS = $(COMPILER_RPATH_FLAG)@TCLLIB@ TCLLIB = @TCLLIB@ TCLLIBFN = @TCLLIBFN@ -- cgit v1.2.3