pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/poppler-glib Fix build when print/poppler-glib i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/574c226afccf
branches:  trunk
changeset: 341936:574c226afccf
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Thu Oct 10 13:19:28 2019 +0000

description:
Fix build when print/poppler-glib is not installed

diffstat:

 print/poppler-glib/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 9e8336ea2ad2 -r 574c226afccf print/poppler-glib/Makefile
--- a/print/poppler-glib/Makefile       Thu Oct 10 13:18:25 2019 +0000
+++ b/print/poppler-glib/Makefile       Thu Oct 10 13:19:28 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.76 2019/10/05 06:06:32 ryoon Exp $
+# $NetBSD: Makefile,v 1.77 2019/10/10 13:19:28 ryoon Exp $
 
 .include "../../print/poppler/Makefile.common"
 
@@ -32,6 +32,9 @@
 
 CFLAGS.FreeBSD+=       -DLLONG_MAX=__LLONG_MAX
 
+# The result binary of g-ir-scanner cannot find libpoppler-glib.so.
+MAKE_ENV+=     LD_LIBRARY_PATH=${WRKSRC}/glib
+
 BUILDLINK_API_DEPENDS.poppler+=     poppler-${POPPLER_VERS}{,nb*}
 .include "../../print/poppler/buildlink3.mk"
 



Home | Main Index | Thread Index | Old Index