projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update TODO
[hvlinux.git]
/
functions
/
ipkg
diff --git
a/functions/ipkg
b/functions/ipkg
index
f948ac3
..
9de1728
100644
(file)
--- a/
functions/ipkg
+++ b/
functions/ipkg
@@
-66,6
+66,14
@@
hvconfig()
# accept the default configuration.
perl Makefile.PL -n ${CONFIGURE_OPTS}
else
# accept the default configuration.
perl Makefile.PL -n ${CONFIGURE_OPTS}
else
+ if [ ! -f ${LFS_TMP}/${PACKAGE}/configure ]; then
+ if [ -f ${LFS_TMP}/${PACKAGE}/configure.in -o \
+ -f ${LFS_TMP}/${PACKAGE}/configure.ac ]; then
+ # Try to automatically generate missing configure script.
+ autoreconf -vi
+ fi
+ fi
+
# Standard configure script
${LFS_TMP}/${PACKAGE}/configure ${CONFIGURE_OPTS}
fi
# Standard configure script
${LFS_TMP}/${PACKAGE}/configure ${CONFIGURE_OPTS}
fi
@@
-152,7
+160,9
@@
ipkg_script()
hvpatch_pre
fi
hvpatch_pre
fi
- hvpatch
+ if [ "x${DECOMPRESS}" = "x1" ]; then
+ hvpatch
+ fi
# Execute pre-configure function if applicable
if function_exists hvconfig_pre ; then
# Execute pre-configure function if applicable
if function_exists hvconfig_pre ; then
@@
-170,12
+180,14
@@
ipkg_script()
fi
if [ -x ${LFS_TMP}/${PACKAGE}/configure ]; then
fi
if [ -x ${LFS_TMP}/${PACKAGE}/configure ]; then
- # Add option --disable-dependency-tracking if supported
- if cat ${LFS_TMP}/${PACKAGE}/configure | \
- grep -q "disable-dependency-tracking"; then
- CONFIGURE_OPTS="\
+ if [ "x${ENABLE_DEPENDENCY_TRACKING}" = "x0" ]; then
+ # Add option --disable-dependency-tracking if supported
+ if cat ${LFS_TMP}/${PACKAGE}/configure | \
+ grep -q "disable-dependency-tracking"; then
+ CONFIGURE_OPTS="\
${CONFIGURE_OPTS} \
${CONFIGURE_OPTS} \
- --disable-dependency-tracking"
+ --disable-dependency-tracking"
+ fi
fi
# Remove option --sysconfdir=... if not supported
fi
# Remove option --sysconfdir=... if not supported