summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-06-09 17:01:11 +0000
committerjlam <jlam@pkgsrc.org>2005-06-09 17:01:11 +0000
commit2c739424785ed032b8082841e7e6ef82b8f23c69 (patch)
treef0e4f5c76d1142d29ec6385065915ffb7be2d9d5
parent29ef35e288d9562eb400033064482b5d96838ca8 (diff)
downloadpkgsrc-2c739424785ed032b8082841e7e6ef82b8f23c69.tar.gz
Fix test to that it's possible to check correctness when
COMPILER_RPATH_FLAG is "-Wl,-rpath,".
-rw-r--r--regress/buildlink-transform/tests/rpath-merge.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/buildlink-transform/tests/rpath-merge.mk b/regress/buildlink-transform/tests/rpath-merge.mk
index edaa6e31aca..cf588c50e5e 100644
--- a/regress/buildlink-transform/tests/rpath-merge.mk
+++ b/regress/buildlink-transform/tests/rpath-merge.mk
@@ -1,9 +1,9 @@
-# $NetBSD: rpath-merge.mk,v 1.1 2005/06/08 05:49:21 jlam Exp $
+# $NetBSD: rpath-merge.mk,v 1.2 2005/06/09 17:01:11 jlam Exp $
.PHONY: rpath-merge
do-regress: rpath-merge
rpath-merge:
- @test="${COMPILER_RPATH_FLAG} -Wl,${LOCALBASE}/lib:${LOCALBASE}/lib/foo"; \
+ @test="${COMPILER_RPATH_FLAG:S/,$//} -Wl,${LOCALBASE}/lib:${LOCALBASE}/lib/foo"; \
case "${_USE_RPATH}" in \
[yY][eE][sS]) \
expected="${COMPILER_RPATH_FLAG}${LOCALBASE}/lib ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib/foo"; \