diff options
author | arved <arved@FreeBSD.org> | 2011-07-30 23:35:35 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2011-07-30 23:35:35 +0800 |
commit | 977eb3cf19b677f6f9cbc63f1608fbb118c71645 (patch) | |
tree | 6dcacf4a39ce9bd6c71ab3e2656ed02c806f32a1 /graphics | |
parent | eb210cf38eea5fd5789fe9cc53a7be4826d013e6 (diff) | |
download | freebsd-ports-gnome-977eb3cf19b677f6f9cbc63f1608fbb118c71645.tar.gz freebsd-ports-gnome-977eb3cf19b677f6f9cbc63f1608fbb118c71645.tar.zst freebsd-ports-gnome-977eb3cf19b677f6f9cbc63f1608fbb118c71645.zip |
Unbreak on sparc64
PR: 159225
Submitted by: maintainer
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/mupdf/Makefile | 13 |
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> |