diff options
author | jmc <jmc@pkgsrc.org> | 2003-08-15 02:02:45 +0000 |
---|---|---|
committer | jmc <jmc@pkgsrc.org> | 2003-08-15 02:02:45 +0000 |
commit | a5696f1c29b3856cbc7b81205c871dd0bb7dea23 (patch) | |
tree | 96d3867fb89d8cbc84e02d87ecce4647ea30cd9a | |
parent | 2c7a50255a20a1dfcea62f69454e23aef016fcd0 (diff) | |
download | pkgsrc-a5696f1c29b3856cbc7b81205c871dd0bb7dea23.tar.gz |
Make sure RPATH for libpng gets to final binary
-rw-r--r-- | x11/xcursorgen/Makefile | 5 |
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" |