Skip to content

Commit

Permalink
main/newsraft: no install rebuild
Browse files Browse the repository at this point in the history
fixes all flags being dropped
  • Loading branch information
nekopsykose committed Oct 1, 2024
1 parent 89b6aa1 commit 5fe2dad
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions main/newsraft/patches/no-install-rebuild.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
please use a real build system
--
--- a/makefile
+++ b/makefile
@@ -32,7 +32,7 @@

install: install-newsraft install-man install-examples

-install-newsraft: newsraft
+install-newsraft:
mkdir -p $(DESTDIR)$(BINDIR)
install -m755 newsraft $(DESTDIR)$(BINDIR)/.

--- a/tests/run-check.sh
+++ b/tests/run-check.sh
@@ -6,7 +6,6 @@

cd "$(dirname "$0")/.."

-make clean
make CFLAGS='-O3 -fPIC' libnewsraft.so

test -e libnewsraft.so
2 changes: 1 addition & 1 deletion main/newsraft/template.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname = "newsraft"
pkgver = "0.26"
pkgrel = 0
pkgrel = 1
build_style = "makefile"
hostmakedepends = [
"pkgconf",
Expand Down

0 comments on commit 5fe2dad

Please sign in to comment.