[oe-commits] org.oe.dev autotools.bbclass: Reference STAGING_DATADIR (from poky)

rpurdie commit openembedded-commits at lists.openembedded.org
Mon Oct 29 16:16:36 UTC 2007


autotools.bbclass: Reference STAGING_DATADIR (from poky)

Author: rpurdie at openembedded.org
Branch: org.openembedded.dev
Revision: 0f57b5b21a118ed174ff423b79e9ac2859b2d5be
ViewMTN: http://monotone.openembedded.org/revision/info/0f57b5b21a118ed174ff423b79e9ac2859b2d5be
Files:
1
classes/autotools.bbclass
Diffs:

#
# mt diff -r225c85038363f06b572455d5534b080b097a8743 -r0f57b5b21a118ed174ff423b79e9ac2859b2d5be
#
# 
# 
# patch "classes/autotools.bbclass"
#  from [fbe0aa9d4c0382c15804b9b7334180afa0355a9e]
#    to [e96cf316d44ecfcef44a4db7bddfb8d80facbdc7]
# 
============================================================
--- classes/autotools.bbclass	fbe0aa9d4c0382c15804b9b7334180afa0355a9e
+++ classes/autotools.bbclass	e96cf316d44ecfcef44a4db7bddfb8d80facbdc7
@@ -97,9 +97,9 @@ autotools_do_configure() {
 			AUTOV=`automake --version |head -n 1 |sed "s/.* //;s/\.[0-9]\+$//"`
 			automake --version
 			echo "AUTOV is $AUTOV"
-			install -d ${STAGING_DIR}/${HOST_SYS}/share/aclocal
-			install -d ${STAGING_DIR}/${HOST_SYS}/share/aclocal-$AUTOV
-			acpaths="$acpaths -I ${STAGING_DIR}/${HOST_SYS}/share/aclocal-$AUTOV -I ${STAGING_DIR}/${HOST_SYS}/share/aclocal"
+			install -d ${STAGING_DATADIR}/aclocal
+			install -d ${STAGING_DATADIR}/aclocal-$AUTOV
+			acpaths="$acpaths -I${STAGING_DATADIR}/aclocal-$AUTOV -I ${STAGING_DATADIR}/aclocal"
 			# autoreconf is too shy to overwrite aclocal.m4 if it doesn't look
 			# like it was auto-generated.  Work around this by blowing it away
 			# by hand, unless the package specifically asked not to run aclocal.






More information about the Openembedded-commits mailing list