mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00:00
Ports: Update sl's patches to use git patches
This commit is contained in:
parent
06f9a1bacc
commit
54f191f25b
3 changed files with 35 additions and 14 deletions
27
Ports/sl/patches/0001-Add-an-install-target.patch
Normal file
27
Ports/sl/patches/0001-Add-an-install-target.patch
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
From 71f2cc48a3e66377763401054c663ca6a2a3f7ca Mon Sep 17 00:00:00 2001
|
||||||
|
From: Gunnar Beutner <gbeutner@serenityos.org>
|
||||||
|
Date: Thu, 15 Apr 2021 15:43:18 +0200
|
||||||
|
Subject: [PATCH] Add an install target
|
||||||
|
|
||||||
|
Co-Authored-By: Noah Rosamilia <ivoahivoah@gmail.com>
|
||||||
|
---
|
||||||
|
Makefile | 6 ++++++
|
||||||
|
1 file changed, 6 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/Makefile b/Makefile
|
||||||
|
index c3005d2..04fcb9d 100644
|
||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -18,3 +18,9 @@ clean:
|
||||||
|
rm -f sl
|
||||||
|
|
||||||
|
distclean: clean
|
||||||
|
+
|
||||||
|
+install: all
|
||||||
|
+ mkdir -p ${DESTDIR}/usr/local/bin
|
||||||
|
+ install sl ${DESTDIR}/usr/local/bin/sl
|
||||||
|
+ mkdir -p ${DESTDIR}/usr/local/share/man/man1
|
||||||
|
+ gzip -9 -c < sl.1 > ${DESTDIR}/usr/local/share/man/man1/sl.1.gz
|
||||||
|
--
|
||||||
|
2.36.1
|
||||||
|
|
8
Ports/sl/patches/ReadMe.md
Normal file
8
Ports/sl/patches/ReadMe.md
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# Patches for sl on SerenityOS
|
||||||
|
|
||||||
|
## `0001-Add-an-install-target.patch`
|
||||||
|
|
||||||
|
Add an install target
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
diff --git a/Makefile b/Makefile
|
|
||||||
index c3005d2..e071fc9 100644
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -18,3 +18,9 @@ clean:
|
|
||||||
rm -f sl
|
|
||||||
|
|
||||||
distclean: clean
|
|
||||||
+
|
|
||||||
+install: all
|
|
||||||
+ mkdir -p ${DESTDIR}/usr/local/bin
|
|
||||||
+ install sl ${DESTDIR}/usr/local/bin/sl
|
|
||||||
+ mkdir -p ${DESTDIR}/usr/local/share/man/man1
|
|
||||||
+ gzip -9 -c < sl.1 > ${DESTDIR}/usr/local/share/man/man1/sl.1.gz
|
|
Loading…
Add table
Add a link
Reference in a new issue