ladybird/Ports/klong/patches/klong.patch
Linus Groh 7cb9237be9 Ports: Remove/replace hardcoded i686-pc-serenity-{gcc,g++,ar,ranlib}
Except in the Lua port's Makefile patch, I couldn't figure this out...
2021-03-13 13:13:03 +01:00

27 lines
636 B
Diff

--- klong/Makefile.orig 2019-10-01 13:06:39.000000000 +0200
+++ klong/Makefile 2020-02-01 21:08:13.020202542 +0100
@@ -1,12 +1,12 @@
CFLAGS= -g -Wall -pedantic -O3
-CC= cc $(CFLAGS)
+CC:= $(CC) $(CFLAGS)
V= 20190330
R= 20190926
# Modules to load into image file
OPTIONS=-l nstat -l nplot -l time
-all: kg klong.image
+all: kg
klong.image: kg
./kg -n $(OPTIONS) -o klong.image
@@ -48,3 +48,8 @@
mksums: clean
find . -type f | grep -v _csums | grep -v klong2015 | csum >_csums
+
+install:
+ install kg ${DESTDIR}/usr/local/bin
+ mkdir -p ${DESTDIR}/usr/local/lib/klong
+ install -m 644 lib/* ${DESTDIR}/usr/local/lib/klong