summaryrefslogtreecommitdiff
path: root/chat/eggdrop/patches
diff options
context:
space:
mode:
authorjlam <jlam>2004-08-27 06:29:06 +0000
committerjlam <jlam>2004-08-27 06:29:06 +0000
commitc67635060cd54b4f914d016d2d93bdcc9c66c834 (patch)
tree0ff3b0eccc04d1b065efd866b0590608098961d5 /chat/eggdrop/patches
parent78b14f7e1233ae26114a6875e6741dc02d74759f (diff)
downloadpkgsrc-c67635060cd54b4f914d016d2d93bdcc9c66c834.tar.gz
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} <path>", 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.
Diffstat (limited to 'chat/eggdrop/patches')
-rw-r--r--chat/eggdrop/patches/patch-ag6
1 files changed, 3 insertions, 3 deletions
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@