FreeBSD Bugzilla – Attachment 107692 Details for
Bug 148503
[patch] graphics/mupdf: remove forceful optimization
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
a.diff
a.diff (text/plain), 1.37 KB, created by
swell.k
on 2010-07-11 23:50:01 UTC
(
hide
)
Description:
a.diff
Filename:
MIME Type:
Creator:
swell.k
Created:
2010-07-11 23:50:01 UTC
Size:
1.37 KB
patch
obsolete
>Index: graphics/mupdf/Makefile >=================================================================== >RCS file: /a/.cvsup/ports/graphics/mupdf/Makefile,v >retrieving revision 1.7 >diff -u -p -r1.7 Makefile >--- graphics/mupdf/Makefile 10 Jul 2010 11:12:09 -0000 1.7 >+++ graphics/mupdf/Makefile 11 Jul 2010 22:41:54 -0000 >@@ -20,7 +20,7 @@ LIB_DEPENDS= freetype.9:${PORTSDIR}/prin > openjpeg.2:${PORTSDIR}/graphics/openjpeg > > USE_GMAKE= yes >-MAKE_ARGS+= build=release prefix=${PREFIX} verbose=true >+MAKE_ARGS+= build=release prefix=${PREFIX} > WRKSRC= ${WRKDIR}/${PORTNAME} > USE_XORG= x11 xext > USE_GNOME= pkgconfig >@@ -38,12 +38,20 @@ LDFLAGS+= -L${LOCALBASE}/lib > > .if ${ARCH} == "sparc64" > BROKEN= Does not install on sparc64 >+.elif ${ARCH} == amd64 >+CFLAGS+= -DARCH_X86_64 >+.else >+CFLAGS+= -DARCH_X86 > .endif > >-post-patch: >- @${REINPLACE_CMD} 's/LAGS :=/LAGS +=/g' ${WRKSRC}/Makerules >- @${REINPLACE_CMD} 's/Linux/FreeBSD/g' ${WRKSRC}/Makerules >- @${REINPLACE_CMD} 's/CC = .*/CC = ${CC}/g' ${WRKSRC}/Makerules >- @${REINPLACE_CMD} 's#\(PDF.*_EXE=.*DIR./\)#\1mu_#g' ${WRKSRC}/Makefile >+post-patch: .SILENT >+ ${REINPLACE_CMD} -e 's#\(PDF.*_EXE=.*DIR./\)#\1mu_#g' \ >+ -e 's/@[[:space:]]*echo[^&]*&&//' \ >+ ${WRKSRC}/Makefile >+ ${REINPLACE_CMD} -e 's/LAGS :=/LAGS +=/g' \ >+ -e 's/Linux/FreeBSD/g' \ >+ -e 's/CC = .*/CC = ${CC}/g' \ >+ -e '/-msse/d' \ >+ ${WRKSRC}/Makerules > > .include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 148503
: 107692