Skip to contentSkip to conversation

autotools.bbclass: force copy Makefile.in.in to ${S}/po/

PATCH New [email protected] 1 participant 2 messages Jun 26, 2013

lore
Share & tools
lore
#0 lore raw

cover autotools.bbclass: force copy Makefile.in.in to ${S}/po/

From: "Roy.Li" <[email protected]>

The following changes since commit 8c35ba2d3048ce69f74f72cb2676e4bc162cfb63:

populate_sdk_base, adt_installer: abort install if path contains spaces (2013-06-25 17:59:13 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib roy/autotools
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=roy/autotools

Roy.Li (1):
autotools.bbclass: force copy Makefile.in.in to ${S}/po/

 meta/classes/autotools.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 autotools.bbclass: force copy Makefile.in.in to ${S}/po/

From: "Roy.Li" <[email protected]>

If a Makefile.in.in has existed under ${S}/po/ and is read-only, cp will fail.

---
 meta/classes/autotools.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/autotools.bbclass +1 -1
index 66c0f5d..4e4ef98 100644
@@ -201,7 +201,7 @@ autotools_do_configure() {
 			# We'd call gettextize here if it wasn't so broken...
 				cp ${STAGING_DATADIR_NATIVE}/gettext/config.rpath ${AUTOTOOLS_AUXDIR}/
 				if [ -d ${S}/po/ ]; then
-					cp ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/po/
+					cp -f ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/po/
 					if [ ! -e ${S}/po/remove-potcdate.sin ]; then
 						cp ${STAGING_DATADIR_NATIVE}/gettext/po/remove-potcdate.sin ${S}/po/
 					fi
Signature · 1 line
1.7.10.4