commit 89e0bdb

chld  ·  2026-08-29 05:03:55 +0000 UTC
parent 16cca06
dfm: fix install errors
1 files changed,  +2, -0
+2, -0
1@@ -5,6 +5,8 @@ RELEASE=1
2 SOURCE="https://github.com/dylanaraps/${NAME}"
3 build(){
4     CFLAGS="$CFLAGS -static" PREFIX="$PREFIX" LDFLAGS="$CFLAGS -static" ./configure || die "configure failed"
5+    sed -i 's#mkdir -p "/usr#mkdir -p "${DESTDIR}/usr#' Makefile
6+    sed -i 's#/usr/local/#${PREFIX}#g' Makefile
7 
8     # though using some type of configure, this only builds with bmake.
9     # love u dylan araps