Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153396404
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
Tue, Apr 21, 10:15 PM (3 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31936435
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