summaryrefslogtreecommitdiff
path: root/graphics/gdchart/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2016-05-07 09:58:49 +0000
committerjoerg <joerg>2016-05-07 09:58:49 +0000
commit885547df11a6649f060bd94b128248be406a88c3 (patch)
treef084aefcb9333650ffe415b07794c224d47081be /graphics/gdchart/patches
parent0c28f6b0a8ae3e9053f2a6745e09c8a0a44214ce (diff)
downloadpkgsrc-885547df11a6649f060bd94b128248be406a88c3.tar.gz
Fix rpath for X libraries.
Diffstat (limited to 'graphics/gdchart/patches')
-rw-r--r--graphics/gdchart/patches/patch-ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/gdchart/patches/patch-ac b/graphics/gdchart/patches/patch-ac
index 4860a8e1d4e..aa276fb4788 100644
--- a/graphics/gdchart/patches/patch-ac
+++ b/graphics/gdchart/patches/patch-ac
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.8 2005/03/11 08:51:58 adam Exp $
+$NetBSD: patch-ac,v 1.9 2016/05/07 09:58:49 joerg Exp $
--- Makefile.orig 2004-12-17 17:53:47.000000000 +0000
+++ Makefile
@@ -126,7 +126,7 @@ $NetBSD: patch-ac,v 1.8 2005/03/11 08:51:58 adam Exp $
- ranlib libgdc.a
+libgdchart.a: ${LIB_OBJS}
+ ${LIBTOOL} --mode=link ${CC} -o libgdchart.la ${LIB_OBJS:.o=.lo} \
-+ -L${GD_LD} -lgd -version-info 0:11 -rpath ${PREFIX}/lib
++ -L${GD_LD} -lgd -version-info 0:11 -rpath ${PREFIX}/lib ${COMPILER_RPATH_FLAG}${X11BASE}/lib
# --- supporting libraries ---
# should be compile & installed separately