summaryrefslogtreecommitdiff
path: root/print/mupdf
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2010-09-28 13:11:26 +0000
committerwiz <wiz@pkgsrc.org>2010-09-28 13:11:26 +0000
commit13752b9f3f6791baa0022b54a107b1438fd18d51 (patch)
tree0f663b847e3f698ab2eaa39c278b920da19c45f5 /print/mupdf
parentc1da7e4afb8dea09b2d50194a7b10988d785981f (diff)
downloadpkgsrc-13752b9f3f6791baa0022b54a107b1438fd18d51.tar.gz
Add workaround to make this compile with native X, from joerg.
Shouldn't break modular X, says joerg.
Diffstat (limited to 'print/mupdf')
-rw-r--r--print/mupdf/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/print/mupdf/Makefile b/print/mupdf/Makefile
index 2bd619a7bb5..7df908de39e 100644
--- a/print/mupdf/Makefile
+++ b/print/mupdf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2010/09/15 13:15:29 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2010/09/28 13:11:26 wiz Exp $
#
DISTNAME= mupdf-0.7
@@ -19,6 +19,8 @@ USE_LIBTOOL= yes
INSTALLATION_DIRS+= bin include lib/pkgconfig
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX}
+LDFLAGS= -Wl,-rpath,${X11BASE}/lib
+MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
post-build:
sed -e "s,@PREFIX@,${PREFIX}," ${FILESDIR}/mupdf.pc > ${WRKSRC}/mupdf.pc