aboutsummaryrefslogtreecommitdiff
path: root/graphics/mupdf
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2011-07-30 15:35:35 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2011-07-30 15:35:35 +0000
commit0f35c99770914d776d67e3e5e9e6b026f9d4db74 (patch)
treee4895bd0ae9d6505f68be09e86a52d50772c1e2a /graphics/mupdf
parent152be9df888f26137c5b045d6cf3ee4edd68b029 (diff)
downloadports-0f35c99770914d776d67e3e5e9e6b026f9d4db74.tar.gz
ports-0f35c99770914d776d67e3e5e9e6b026f9d4db74.zip
Notes
Diffstat (limited to 'graphics/mupdf')
-rw-r--r--graphics/mupdf/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/graphics/mupdf/Makefile b/graphics/mupdf/Makefile
index ba1b0aa27c23..d8d3460ee76e 100644
--- a/graphics/mupdf/Makefile
+++ b/graphics/mupdf/Makefile
@@ -6,7 +6,7 @@
PORTNAME= mupdf
PORTVERSION= 0.8.165
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= GOOGLE_CODE \
@@ -22,7 +22,7 @@ LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
openjpeg.2:${PORTSDIR}/graphics/openjpeg
USE_GMAKE= yes
-MAKE_ARGS+= build=native prefix=${PREFIX} verbose=1 mandir=${PREFIX}/man
+MAKE_ARGS+= build=release prefix=${PREFIX} verbose=1 mandir=${PREFIX}/man
USE_XORG= x11 xext
USE_GNOME= pkgconfig
MAN1= mupdf.1 mu_pdfclean.1 mu_pdfdraw.1 mu_pdfshow.1
@@ -36,6 +36,10 @@ OPTIONS= SCROLL "Build with scroll hacks" on \
.include <bsd.port.options.mk>
+.if ${ARCH} == "amd64" || ${ARCH} == "i386"
+CFLAGS+= -mfpmath=sse
+.endif
+
.if defined(WITH_SCROLL)
EXTRA_PATCHES+= ${FILESDIR}/scroll_hack-apps_pdfapp.c
.endif
@@ -60,9 +64,4 @@ pre-install: .SILENT
${FIND} ${WRKSRC} -name pdf\*.1 -exec ${SH} -c 'mv {} $$(dirname {})/mu_$$(basename {})' \;
.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "sparc64"
-BROKEN= Does not compile on sparc64 : uses i386-specific options
-.endif
-
.include <bsd.port.post.mk>