From 68e216e4fc274dcede7b003c18bb272f61016efa Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 13 Dec 2011 06:26:09 -0600 Subject: testing/mathomatic: add busybox compat patch --- testing/mathomatic/APKBUILD | 6 ++++-- testing/mathomatic/busybox.patch | 11 +++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 testing/mathomatic/busybox.patch (limited to 'testing') diff --git a/testing/mathomatic/APKBUILD b/testing/mathomatic/APKBUILD index 4fa0c7a22..01f36612e 100644 --- a/testing/mathomatic/APKBUILD +++ b/testing/mathomatic/APKBUILD @@ -12,7 +12,8 @@ depends_dev="readline-dev" makedepends="$depends_dev" install="" subpackages="$pkgname-doc" -source="http://mathomatic.org/mathomatic-$pkgver.tar.bz2" +source="http://mathomatic.org/mathomatic-$pkgver.tar.bz2 + busybox.patch" _builddir="$srcdir"/mathomatic-$pkgver prepare() { @@ -35,4 +36,5 @@ package() { make DESTDIR="$pkgdir" prefix="/usr" m4install } -md5sums="f8144e9c17edf688cbb296d20efaf808 mathomatic-15.7.1.tar.bz2" +md5sums="f8144e9c17edf688cbb296d20efaf808 mathomatic-15.7.1.tar.bz2 +c8e6c51e094625c3912cbcf8f2bb21e8 busybox.patch" diff --git a/testing/mathomatic/busybox.patch b/testing/mathomatic/busybox.patch new file mode 100644 index 000000000..07061ca60 --- /dev/null +++ b/testing/mathomatic/busybox.patch @@ -0,0 +1,11 @@ +--- mathomatic-15.7.1.orig/makefile ++++ mathomatic-15.7.1/makefile +@@ -33,7 +33,7 @@ + CC ?= gcc # C compiler to use; this statement doesn't work usually, instead using cc. + M4 ?= m4 # Change this to gm4 in Unix or a non-GNU system. + INSTALL ?= install # Installer utility to use; change to ginstall under Unix. +-INSTALL_PROGRAM ?= $(INSTALL) -Cv # Command to install executable program files; compares to see if any differences, first. ++INSTALL_PROGRAM ?= $(INSTALL) -c # Command to install executable program files; compares to see if any differences, first. + INSTALL_DATA ?= $(INSTALL) -m 0644 # command to install data files + + CC_OPTIMIZE ?= -O3 # Default C compiler optimization flags that are safe. -- cgit v1.2.3