From 539a33dc28a64dad8fb1198ae1fe87a512d8dddd Mon Sep 17 00:00:00 2001 From: Tim Ledbetter Date: Tue, 1 Aug 2023 21:03:37 +0100 Subject: [PATCH] Ports/glm: Create `/usr/local/include` if it doesn't exist Previously, the glm port would not build from a clean state, as this directory does not exist by default. --- Ports/glm/package.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Ports/glm/package.sh b/Ports/glm/package.sh index f0172007c84..530d2f4b7f2 100755 --- a/Ports/glm/package.sh +++ b/Ports/glm/package.sh @@ -12,5 +12,7 @@ configure() { } install() { - run cp -R glm "${SERENITY_BUILD_DIR}/Root/usr/local/include/" + target_dir="${SERENITY_INSTALL_ROOT}/usr/local/include/" + run_nocd mkdir -p "${target_dir}" + run cp -R glm "${target_dir}" }