Page MenuHomeFreeBSD

D21404.id61220.diff
No OneTemporary

D21404.id61220.diff

Index: graphics/gegl/Makefile
===================================================================
--- graphics/gegl/Makefile
+++ graphics/gegl/Makefile
@@ -122,7 +122,7 @@
TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff
TIFF_CONFIGURE_WITH= libtiff
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MPANGO} && ${PORT_OPTIONS:MCAIRO}
PLIST_SUB+= PANGOCAIRO=""
@@ -135,6 +135,9 @@
${REINPLACE_CMD} -e "s/lua >/lua-${LUA_VER} >/g" \
-e 's|\(lua\)\(5\.1\)|\1-\2|g ; s|x86_64|amd64|g' \
${WRKSRC}/configure
+.if ${CHOSEN_COMPILER_TYPE} == clang
+ ${REINPLACE_CMD} -e '/altivec.h/d' ${WRKSRC}/gegl/opencl/cl_platform.h
+.endif
post-patch-EXAMPLES-off:
${REINPLACE_CMD} -e 's|tools examples|tools|g' \
@@ -147,4 +150,4 @@
${INSTALL_DATA} ${WRKSRC}/examples/${ex}.c ${STAGEDIR}${EXAMPLESDIR}
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 15, 5:15 AM (18 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29703144
Default Alt Text
D21404.id61220.diff (895 B)

Event Timeline