File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,8 +127,7 @@ post-patch:
127127 @${REINPLACE_CMD} -e '/find_library_file/ s|uuid|ignore_&|' ${WRKSRC}/setup.py
128128# disable detection of multiarch as it breaks with clang >= 13, which adds a
129129# major.minor version number in -print-multiarch output, confusing Python
130- @${REINPLACE_CMD} -e 's|^MULTIARCH=.*|MULTIARCH=|' ${WRKSRC}/configure \
131- ${WRKSRC}/configure.ac
130+ @${REINPLACE_CMD} -e 's|^\( *MULTIARCH=\).*--print-multiarch.*|\1|' ${WRKSRC}/configure
132131# Apply DISABLED_EXTENSIONS
133132 @${ECHO_CMD} '*disabled*' > ${WRKSRC}/Modules/Setup.local
134133. for _module in ${DISABLED_EXTENSIONS}
Original file line number Diff line number Diff line change @@ -126,8 +126,7 @@ post-patch:
126126 @${REINPLACE_CMD} -e '/find_library_file/ s|uuid|ignore_&|' ${WRKSRC}/setup.py
127127# disable detection of multiarch as it breaks with clang >= 13, which adds a
128128# major.minor version number in -print-multiarch output, confusing Python
129- @${REINPLACE_CMD} -e 's|^MULTIARCH=.*|MULTIARCH=|' ${WRKSRC}/configure \
130- ${WRKSRC}/configure.ac
129+ @${REINPLACE_CMD} -e 's|^\( *MULTIARCH=\).*--print-multiarch.*|\1|' ${WRKSRC}/configure
131130# Apply DISABLED_EXTENSIONS
132131 @${ECHO_CMD} '*disabled*' > ${WRKSRC}/Modules/Setup.local
133132. for _module in ${DISABLED_EXTENSIONS}
Original file line number Diff line number Diff line change @@ -128,8 +128,7 @@ PLIST_SUB+= NO_NIS=""
128128post-patch :
129129# disable detection of multiarch as it breaks with clang >= 13, which adds a
130130# major.minor version number in -print-multiarch output, confusing Python
131- @${REINPLACE_CMD} -e 's|^MULTIARCH=.*|MULTIARCH=|' ${WRKSRC}/configure \
132- ${WRKSRC}/configure.ac
131+ @${REINPLACE_CMD} -e 's|^\( *MULTIARCH=\).*--print-multiarch.*|\1|' ${WRKSRC}/configure
133132
134133post-install :
135134.if ! ${PORT_OPTIONS :MDEBUG}
Original file line number Diff line number Diff line change @@ -114,8 +114,7 @@ post-patch:
114114 @${REINPLACE_CMD} -e '/find_library_file/ s|uuid|ignore_&|' ${WRKSRC}/setup.py
115115# disable detection of multiarch as it breaks with clang >= 13, which adds a
116116# major.minor version number in -print-multiarch output, confusing Python
117- @${REINPLACE_CMD} -e 's|^MULTIARCH=.*|MULTIARCH=|' ${WRKSRC}/configure \
118- ${WRKSRC}/configure.ac
117+ @${REINPLACE_CMD} -e 's|^\( *MULTIARCH=\).*--print-multiarch.*|\1|' ${WRKSRC}/configure
119118# Apply DISABLED_EXTENSIONS
120119 @${ECHO_CMD} '*disabled*' > ${WRKSRC}/Modules/Setup.local
121120. for _module in ${DISABLED_EXTENSIONS}
Original file line number Diff line number Diff line change @@ -118,8 +118,7 @@ post-patch:
118118 @${REINPLACE_CMD} -e '/find_library_file/ s|uuid|ignore_&|' ${WRKSRC}/setup.py
119119# disable detection of multiarch as it breaks with clang >= 13, which adds a
120120# major.minor version number in -print-multiarch output, confusing Python
121- @${REINPLACE_CMD} -e 's|^MULTIARCH=.*|MULTIARCH=|' ${WRKSRC}/configure \
122- ${WRKSRC}/configure.ac
121+ @${REINPLACE_CMD} -e 's|^\( *MULTIARCH=\).*--print-multiarch.*|\1|' ${WRKSRC}/configure
123122# Apply DISABLED_EXTENSIONS
124123 @${ECHO_CMD} '*disabled*' > ${WRKSRC}/Modules/Setup.local
125124. for _module in ${DISABLED_EXTENSIONS}
Original file line number Diff line number Diff line change @@ -118,8 +118,7 @@ post-patch:
118118 @${REINPLACE_CMD} -e '/find_library_file/ s|uuid|ignore_&|' ${WRKSRC}/setup.py
119119# disable detection of multiarch as it breaks with clang >= 13, which adds a
120120# major.minor version number in -print-multiarch output, confusing Python
121- @${REINPLACE_CMD} -e 's|^MULTIARCH=.*|MULTIARCH=|' ${WRKSRC}/configure \
122- ${WRKSRC}/configure.ac
121+ @${REINPLACE_CMD} -e 's|^\( *MULTIARCH=\).*--print-multiarch.*|\1|' ${WRKSRC}/configure
123122# Apply DISABLED_EXTENSIONS
124123 @${ECHO_CMD} '*disabled*' > ${WRKSRC}/Modules/Setup.local
125124. for _module in ${DISABLED_EXTENSIONS}
You can’t perform that action at this time.
0 commit comments