Lines 1-6
Link Here
|
1 |
# this file holds common targets |
1 |
# this file holds common targets |
2 |
|
2 |
|
3 |
post-patch: |
3 |
post-patch: |
|
|
4 |
# Disable some autostaff. |
5 |
@${REINPLACE_CMD} -e 's|dep_elf = dependency.*|dep_elf = null_dep|g' \ |
6 |
-e 's|dep_libudev =.*|dep_libudev = null_dep|g' \ |
7 |
-e 's|dep_openmp =.*|dep_openmp = null_dep|g' \ |
8 |
-e 's|dep_xcb_keysyms =.*|dep_xcb_keysyms = null_dep|g' \ |
9 |
${WRKSRC}/meson.build |
10 |
# Force use libelf headers from base. |
11 |
# gelf.h includes <libelf.h> so remove it to avoid conflict between |
12 |
# </usr/include/libelf.h> and <libelf.h>=/usr/local/include/libelf.h. |
13 |
${REINPLACE_CMD} -e 's|#include <gelf.h>||g' \ |
14 |
-e 's|#include <libelf.h>|#include </usr/include/libelf.h>|g' \ |
15 |
${WRKSRC}/src/amd/common/ac_rtld.c \ |
16 |
${WRKSRC}/src/amd/common/ac_rgp_elf_object_pack.c \ |
17 |
${WRKSRC}/src/gallium/drivers/r600/evergreen_compute.c \ |
18 |
${WRKSRC}/src/gallium/frontends/clover/llvm/codegen/native.cpp |
4 |
${REINPLACE_CMD} -e '/SYSCONFDIR/ s|/etc|${PREFIX}/etc|g' \ |
19 |
${REINPLACE_CMD} -e '/SYSCONFDIR/ s|/etc|${PREFIX}/etc|g' \ |
5 |
-e '/DATADIR/ s|/usr/share|${PREFIX}/share|g' \ |
20 |
-e '/DATADIR/ s|/usr/share|${PREFIX}/share|g' \ |
6 |
${WRKSRC}/src/util/xmlconfig.c |
21 |
${WRKSRC}/src/util/xmlconfig.c |