Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147855600
D21404.id61220.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
895 B
Referenced Files
None
Subscribers
None
D21404.id61220.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D21404: graphics/gegl: fix build with clang when using Altivec
Attached
Detach File
Event Timeline
Log In to Comment