Skip to content

Commit 824377c

Browse files
authored
mesa: Escape periods in regular expressions
1 parent 966dd0e commit 824377c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x11/mesa/Portfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ if {${os.platform} ne "darwin"} {
148148
}
149149

150150
post-patch {
151-
reinplace "s|\"libvulkan.1.dylib\"|\"${prefix}/lib/libvulkan.1.dylib\"|g" \
151+
reinplace "s|\"libvulkan\\.1\\.dylib\"|\"${prefix}/lib/libvulkan.1.dylib\"|g" \
152152
src/gallium/drivers/zink/zink_screen.c \
153153
src/gfxstream/guest/vulkan-mapper/GfxStreamVulkanMapper.cpp
154154
}
@@ -161,7 +161,7 @@ post-destroot {
161161
# avoid conflict with ANGLE
162162
move ${destroot}${prefix}/include/KHR/khrplatform.h \
163163
${destroot}${prefix}/include/KHR/khrplatform_mesa.h
164-
reinplace "s|khrplatform\.h|khrplatform_mesa.h|" \
164+
reinplace "s|khrplatform\\.h|khrplatform_mesa.h|" \
165165
${destroot}${prefix}/include/GL/glcorearb.h \
166166
${destroot}${prefix}/include/GL/glext.h
167167
}

0 commit comments

Comments
 (0)