Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Buildsystem patches:

- allow symlink for sources and .work
- add missing char in printf statements in scripts directory
  • Loading branch information...
commit 71c0db400849f6c2aa7cf73bc59614e3a672d894 1 parent 9385e6b
@susisstrolch susisstrolch authored
View
8 .gitignore
@@ -18,3 +18,11 @@ mkpkg-temp
# private working directory
/.work/
+
+# symlinks...
+/sources
+/.work
+
+# backup files
+*.orig
+
View
2  scripts/autoreconf
@@ -24,7 +24,7 @@
[ ! -f "$PKG_BUILD/configure.in" -a ! -f "$PKG_BUILD/configure.ac" ] && echo "configure.in or configure.ac not found" && exit 1
-printf "%${INDENT}c AUTORECONF $1\n" >&$SILENT_OUT
+printf "%${INDENT}c AUTORECONF $1\n" ' '>&$SILENT_OUT
export INDENT=$((${INDENT:-1}+$INDENT_SIZE))
do_autoreconf $PKG_BUILD
View
2  scripts/build
@@ -50,7 +50,7 @@ fi
if [ ! -f $STAMP ]; then
rm -f $STAMP
- printf "%${INDENT}c BUILD $1\n" >&$SILENT_OUT
+ printf "%${INDENT}c BUILD $1\n" ' '>&$SILENT_OUT
export INDENT=$((${INDENT:-1}+$INDENT_SIZE))
for p in $PKG_BUILD_DEPENDS; do
View
2  scripts/create_addon
@@ -43,7 +43,7 @@ fi
$SCRIPTS/build $@
-printf "%${INDENT}c CREATE ADDON $1\n" >&$SILENT_OUT
+printf "%${INDENT}c CREATE ADDON $1\n" ' '>&$SILENT_OUT
export INDENT=$((${INDENT:-1}+$INDENT_SIZE))
if [ -f $PKG_DIR/addon ]; then
View
2  scripts/get
@@ -58,7 +58,7 @@ if [ -n "$PKG_URL" ]; then
rm -f $STAMP
- printf "%${INDENT}c GET $1\n" >&$SILENT_OUT
+ printf "%${INDENT}c GET $1\n" ' '>&$SILENT_OUT
export INDENT=$((${INDENT:-1}+$INDENT_SIZE))
until [ -f "$STAMP" ] || $WGET_CMD $i || $WGET_CMD $PACKAGE_MIRROR; do
View
2  scripts/install
@@ -65,7 +65,7 @@ fi
$SCRIPTS/build $@
-printf "%${INDENT}c INSTALL $1\n" >&$SILENT_OUT
+printf "%${INDENT}c INSTALL $1\n" ' '>&$SILENT_OUT
export INDENT=$((${INDENT:-1}+$INDENT_SIZE))
for p in $PKG_DEPENDS; do
View
8 scripts/unpack
@@ -47,7 +47,7 @@ done
[ -f "$STAMP" ] && exit 0
-printf "%${INDENT}c UNPACK $1\n" >&$SILENT_OUT
+printf "%${INDENT}c UNPACK $1\n" ' '>&$SILENT_OUT
export INDENT=$((${INDENT:-1}+$INDENT_SIZE))
rm -rf $BUILD/$1[-_][0-9]*
@@ -82,10 +82,10 @@ for i in $PKG_DIR/patches/$PKG_NAME-$PKG_VERSION*.patch ; do
PATCH=`basename $i`
PT=`echo $PATCH | sed 's/.*\.\(.*\)$/\1/'`
if [ "$PT" != "patch" -a "$PT" != "$TARGET_ARCH" ]; then
- printf "%${INDENT}c SKIP PATCH: $i\n" >&$SILENT_OUT
+ printf "%${INDENT}c SKIP PATCH: $i\n" ' '>&$SILENT_OUT
continue;
else
- printf "%${INDENT}c APPLY PATCH: $i\n" >&$SILENT_OUT
+ printf "%${INDENT}c APPLY PATCH: $i\n" ' '>&$SILENT_OUT
cat $i | patch -d `echo "$PKG_BUILD" | cut -f1 -d\ ` -p1 >&$VERBOSE_OUT
fi
fi
@@ -94,7 +94,7 @@ done
[ -f "$PKG_DIR/unpack" ] && $PKG_DIR/unpack $@ >&$VERBOSE_OUT
for config in `find $BUILD/$1* -name config.guess | sed 's/config.guess//'`; do
- printf "%${INDENT}c FIXCONFIG: $config\n" >&$SILENT_OUT
+ printf "%${INDENT}c FIXCONFIG: $config\n" ' '>&$SILENT_OUT
[ -f "$config/config.guess" ] && cp -f $SCRIPTS/configtools/config.guess $config
[ -f "$config/config.sub" ] && cp -f $SCRIPTS/configtools/config.sub $config
Please sign in to comment.
Something went wrong with that request. Please try again.