diff options
author | Gunnar Beutner <gunnar@beutner.name> | 2021-04-15 15:43:18 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-16 19:04:24 +0200 |
commit | c9d535868506dfede9e79ff2af01435e9bdea420 (patch) | |
tree | 3648c02a724d8d58b3e89d73d474112ab0fe5e87 /Ports/stress-ng | |
parent | 960079b020eaf5e1e8762d8ec1c785d66342df7a (diff) | |
download | serenity-c9d535868506dfede9e79ff2af01435e9bdea420.zip |
Ports: Make sure ports are installed into /usr/local
Diffstat (limited to 'Ports/stress-ng')
-rwxr-xr-x | Ports/stress-ng/package.sh | 1 | ||||
-rw-r--r-- | Ports/stress-ng/patches/install-prefix.patch | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/Ports/stress-ng/package.sh b/Ports/stress-ng/package.sh index 0a9257410d..22b260cabc 100755 --- a/Ports/stress-ng/package.sh +++ b/Ports/stress-ng/package.sh @@ -7,4 +7,5 @@ depends=zlib pre_configure() { export CFLAGS="-I${SERENITY_BUILD_DIR}/Root/usr/local/include" export LDFLAGS="-L${SERENITY_BUILD_DIR}/Root/usr/local/lib -lzlib" + } diff --git a/Ports/stress-ng/patches/install-prefix.patch b/Ports/stress-ng/patches/install-prefix.patch new file mode 100644 index 0000000000..dc1be665e0 --- /dev/null +++ b/Ports/stress-ng/patches/install-prefix.patch @@ -0,0 +1,18 @@ +diff -Naur stress-ng-0.11.23/Makefile stress-ng-0.11.23.serenity/Makefile +--- stress-ng-0.11.23/Makefile 2021-04-16 00:30:33.161310251 +0200 ++++ stress-ng-0.11.23.serenity/Makefile 2021-04-16 00:33:59.731692012 +0200 +@@ -53,10 +53,10 @@ + CFLAGS += -DBUILD_STATIC + endif + +-BINDIR=/usr/bin +-MANDIR=/usr/share/man/man1 +-JOBDIR=/usr/share/stress-ng/example-jobs +-BASHDIR=/usr/share/bash-completion/completions ++BINDIR=/usr/local/bin ++MANDIR=/usr/local/share/man/man1 ++JOBDIR=/usr/local/share/stress-ng/example-jobs ++BASHDIR=/usr/local/share/bash-completion/completions + + # + # Stressors |