summaryrefslogtreecommitdiff
path: root/x11/wxGTK32/patches/patch-configure
blob: 9ea19bdcc17e51fe2301ee3064759d5eb2d97f29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-configure,v 1.1 2022/07/26 02:58:56 dbj Exp $

Fixup invocation of install_name_tool on wxrc

--- configure.orig	2022-07-06 14:19:50.000000000 +0000
+++ configure
@@ -27356,7 +27356,7 @@ $as_echo "$as_me: WARNING: XML library n
     USE_XML=0
 else
     USE_XML=1
-    echo "${HOST_PREFIX}install_name_tool \${changes} \${2}/wxrc-${WX_RELEASE}" >> change-install-names
+    echo "${HOST_PREFIX}install_name_tool \${changes} \${2}/wxrc-${WX_RELEASE}" > change-install-names.wxrc
 fi
 
 
@@ -33939,6 +33939,7 @@ for i in \${libnames} ; do
     ${HOST_PREFIX}install_name_tool \${changes} -id \${3}/\${i} \${1}/\${i}
 done
 EOF
+            cat change-install-names.wxrc >> change-install-names
             chmod +x change-install-names
             DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \${DESTDIR}\${bindir} \${libdir} \$(wx_top_builddir)/lib"
         fi