mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/mathomatic: add busybox compat patch
This commit is contained in:
parent
db310ffd96
commit
68e216e4fc
@ -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"
|
||||
|
||||
11
testing/mathomatic/busybox.patch
Normal file
11
testing/mathomatic/busybox.patch
Normal file
@ -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.
|
||||
Loading…
x
Reference in New Issue
Block a user