summaryrefslogtreecommitdiff
path: root/games/hugo/patches/patch-aa
diff options
context:
space:
mode:
authorjlam <jlam>2004-08-27 06:29:06 +0000
committerjlam <jlam>2004-08-27 06:29:06 +0000
commit64c83961643743b2423afc56e568e2cb05963660 (patch)
tree0ff3b0eccc04d1b065efd866b0590608098961d5 /games/hugo/patches/patch-aa
parentb1d52ddb282f29c948118e6048aa57331cc442c0 (diff)
downloadpkgsrc-64c83961643743b2423afc56e568e2cb05963660.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 'games/hugo/patches/patch-aa')
-rw-r--r--games/hugo/patches/patch-aa4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/hugo/patches/patch-aa b/games/hugo/patches/patch-aa
index e70bfcc22f7..a22c8d6c074 100644
--- a/games/hugo/patches/patch-aa
+++ b/games/hugo/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2004/06/15 13:21:21 grant Exp $
+$NetBSD: patch-aa,v 1.3 2004/08/27 06:29:07 jlam Exp $
--- Makefile.orig 2001-11-26 19:54:04.000000000 +1100
+++ Makefile
@@ -29,7 +29,7 @@ $NetBSD: patch-aa,v 1.2 2004/06/15 13:21:21 grant Exp $
#HE_LIBS=-lcurses -ltermlib
#HE_LIBS=-lcurses
-HE_LIBS=-lncurses
-+HE_LIBS=-L$(PREFIX)/lib -Wl,${RPATH_FLAG}$(PREFIX)/lib -lncurses
++HE_LIBS=-L$(PREFIX)/lib ${COMPILER_RPATH_FLAG}$(PREFIX)/lib -lncurses
# Shouldn't need to change anything below here.
HC_H=source/hcheader.h source/htokens.h