diff -ur mupdf.orig/Makefile mupdf/Makefile --- mupdf.orig/Makefile 2014-08-05 10:00:02.000000000 +0200 +++ mupdf/Makefile 2014-08-05 10:16:08.000000000 +0200 @@ -3,6 +3,7 @@ PORTNAME= mupdf PORTVERSION= 1.5 +PORTREVISION=1 PORTEPOCH= 1 CATEGORIES= graphics MASTER_SITES= GOOGLE_CODE \ @@ -21,7 +22,7 @@ MAKE_ARGS+= build=release prefix=${PREFIX} verbose=1 mandir=${PREFIX}/man \ HAVE_X11=yes \ - XCFLAGS="`pkg-config --cflags freetype2` -I ${LOCALBASE}/include" \ + XCFLAGS="`pkg-config --cflags freetype2` -I ${LOCALBASE}/include -fPIC" \ XLIBS="`pkg-config --libs freetype2 libopenjp2 x11 xext` -ljpeg -ljbig2dec" USES= pkgconfig gmake USE_XORG= x11 xext