summaryrefslogtreecommitdiff
path: root/x11/xcursorgen
diff options
context:
space:
mode:
authorjmc <jmc>2003-08-15 02:02:45 +0000
committerjmc <jmc>2003-08-15 02:02:45 +0000
commitf2e144ab1ce10510ddae706f9abe50beceae2e60 (patch)
tree96d3867fb89d8cbc84e02d87ecce4647ea30cd9a /x11/xcursorgen
parentc77e4522850280e3d29cad2faaa44b2b8414af8f (diff)
downloadpkgsrc-f2e144ab1ce10510ddae706f9abe50beceae2e60.tar.gz
Make sure RPATH for libpng gets to final binary
Diffstat (limited to 'x11/xcursorgen')
-rw-r--r--x11/xcursorgen/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11/xcursorgen/Makefile b/x11/xcursorgen/Makefile
index 87fdb43be88..402adfa0354 100644
--- a/x11/xcursorgen/Makefile
+++ b/x11/xcursorgen/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2003/08/01 18:13:10 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2003/08/15 02:02:45 jmc Exp $
DISTNAME= xcursorgen-4.3.0
WRKSRC= ${WRKDIR}/${DISTNAME:C/-.*//}
@@ -20,4 +20,7 @@ PKG_SKIP_REASON="This package requires XFree86 4.3.0 or newer."
.endif
.include "../../graphics/png/buildlink2.mk"
+
+MAKE_ENV+= LOCAL_LDFLAGS="-Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.png_DEFAULT}/lib"
+
.include "../../mk/bsd.pkg.mk"