diff --git a/dev-util/ios-safari-remote-debug/files/ios-safari-remote-debug-0_pre20250506-copy-injected-code-from-the-system.patch b/dev-util/ios-safari-remote-debug/files/ios-safari-remote-debug-0_pre20250506-copy-injected-code-from-the-system.patch index 52fc5f4f6f..45b9fb540c 100644 --- a/dev-util/ios-safari-remote-debug/files/ios-safari-remote-debug-0_pre20250506-copy-injected-code-from-the-system.patch +++ b/dev-util/ios-safari-remote-debug/files/ios-safari-remote-debug-0_pre20250506-copy-injected-code-from-the-system.patch @@ -11,8 +11,8 @@ Signed-off-by: Pavel Sobolev additionsDir := fmt.Sprintf("%s/WebKitAdditions/WebInspectorUI", baseDir) - cp.Copy("injectedCode/WebInspectorUIAdditions.css", fmt.Sprintf("%s/WebInspectorUIAdditions.css", additionsDir)) - cp.Copy("injectedCode/WebInspectorUIAdditions.js", fmt.Sprintf("%s/WebInspectorUIAdditions.js", additionsDir)) -+ cp.Copy("/usr/share/ios-safari-remote-debug/injectedCode/WebInspectorUIAdditions.css", fmt.Sprintf("%s/WebInspectorUIAdditions.css", additionsDir)) -+ cp.Copy("/usr/share/ios-safari-remote-debug/injectedCode/WebInspectorUIAdditions.js", fmt.Sprintf("%s/WebInspectorUIAdditions.js", additionsDir)) ++ cp.Copy("@GENTOO_PORTAGE_EPREFIX@/usr/share/ios-safari-remote-debug/injectedCode/WebInspectorUIAdditions.css", fmt.Sprintf("%s/WebInspectorUIAdditions.css", additionsDir)) ++ cp.Copy("@GENTOO_PORTAGE_EPREFIX@/usr/share/ios-safari-remote-debug/injectedCode/WebInspectorUIAdditions.js", fmt.Sprintf("%s/WebInspectorUIAdditions.js", additionsDir)) log.Debug().TimeDiff("loadFiles", time.Now(), loadFilesTime).Send() getRelevantFilesTime := time.Now() @@ -21,7 +21,7 @@ Signed-off-by: Pavel Sobolev bundleTime := time.Now() - cp.Copy("views", outputDir) -+ cp.Copy("/usr/share/ios-safari-remote-debug/views", outputDir) ++ cp.Copy("@GENTOO_PORTAGE_EPREFIX@/usr/share/ios-safari-remote-debug/views", outputDir) os.Mkdir(fmt.Sprintf("%s/debug", outputDir), os.ModePerm) os.Mkdir(fmt.Sprintf("%s/debug/Lib", outputDir), os.ModePerm) os.Mkdir(fmt.Sprintf("%s/debug/Protocols", outputDir), os.ModePerm) diff --git a/dev-util/ios-safari-remote-debug/ios-safari-remote-debug-0_pre20250506.ebuild b/dev-util/ios-safari-remote-debug/ios-safari-remote-debug-0_pre20250506.ebuild index ed894da844..53b4a94823 100644 --- a/dev-util/ios-safari-remote-debug/ios-safari-remote-debug-0_pre20250506.ebuild +++ b/dev-util/ios-safari-remote-debug/ios-safari-remote-debug-0_pre20250506.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit go-module +inherit go-module prefix EGIT_COMMIT="d73d1215b38abb82f64513f472fd75ee2b8224f5" @@ -24,6 +24,12 @@ PATCHES=( "${FILESDIR}/${P}-copy-injected-code-from-the-system.patch" ) +src_prepare() { + default + + eprefixify build/build.go +} + src_compile() { ego build }