ports/150698: [patch] graphics/mupdf: restore some vendor CFLAGS
Anonymous
swell.k at gmail.com
Sat Sep 18 09:50:08 UTC 2010
The following reply was made to PR ports/150698; it has been noted by GNATS.
From: Anonymous <swell.k at gmail.com>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/150698: [patch] graphics/mupdf: restore some vendor CFLAGS
Date: Sat, 18 Sep 2010 13:40:12 +0400
I guess it's better to not define ARCH_X86 on non-x86 ARCHs (arm, powerpc, etc)
--- b.diff begins here ---
Index: graphics/mupdf/Makefile
===================================================================
RCS file: /a/.cvsup/ports/graphics/mupdf/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- graphics/mupdf/Makefile 18 Sep 2010 06:41:12 -0000 1.9
+++ graphics/mupdf/Makefile 18 Sep 2010 09:37:22 -0000
@@ -42,7 +40,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
BROKEN= Does not install on sparc64
.elif ${ARCH} == amd64
CFLAGS+= -DARCH_X86_64
-.else
+.elif ${ARCH} == i386
CFLAGS+= -DARCH_X86
.endif
--- b.diff ends here ---
More information about the freebsd-ports-bugs
mailing list