pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
tiramisu: clean-up
Module Name: pkgsrc-wip
Committed By: pin <voidpin%protonmail.com@localhost>
Pushed By: pin
Date: Mon Nov 9 13:18:00 2020 +0100
Changeset: 64f4941a917bc64325f257940fc64575621a7658
Modified Files:
tiramisu/Makefile
tiramisu/distinfo
Added Files:
tiramisu/patches/patch-Makefile
Log Message:
tiramisu: clean-up
-clean-up package Makefile
-patch upstreams Makefile so it doesn't override users CFLAGS
thanks to leot it.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=64f4941a917bc64325f257940fc64575621a7658
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
tiramisu/Makefile | 4 ++--
tiramisu/distinfo | 1 +
tiramisu/patches/patch-Makefile | 23 +++++++++++++++++++++++
3 files changed, 26 insertions(+), 2 deletions(-)
diffs:
diff --git a/tiramisu/Makefile b/tiramisu/Makefile
index 11ea45df6a..0764d6a79c 100644
--- a/tiramisu/Makefile
+++ b/tiramisu/Makefile
@@ -11,8 +11,8 @@ LICENSE= mit
USE_TOOLS+= pkg-config gmake
-INSTALLATION_DIRS+= bin share/doc/tiramisu
-MAKE_ENV+= PREFIX=${PREFIX}
+INSTALLATION_DIRS+= share/doc/tiramisu
+MAKE_ENV+= PREFIX=${PREFIX}
post-install:
${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/tiramisu
diff --git a/tiramisu/distinfo b/tiramisu/distinfo
index 31e4a91b00..716a6c509f 100644
--- a/tiramisu/distinfo
+++ b/tiramisu/distinfo
@@ -4,3 +4,4 @@ SHA1 (tiramisu-1.0.tar.gz) = 909f21b33fa429d7c2f5668273bbda8d28b143f6
RMD160 (tiramisu-1.0.tar.gz) = c71623406918b1ceb609e187f6eadd8e5b0257aa
SHA512 (tiramisu-1.0.tar.gz) = 357a223afa1664d170249fea187924c1942427b4c488ec18476774e19a8c15bdac104c7d4e105f4b2e2a4ad66e8954f572dad8be60a4b313a16c1612fe88f5b7
Size (tiramisu-1.0.tar.gz) = 3063267 bytes
+SHA1 (patch-Makefile) = 659a488873cfd8883c6ee496ad0e371caa28ff7f
diff --git a/tiramisu/patches/patch-Makefile b/tiramisu/patches/patch-Makefile
new file mode 100644
index 0000000000..4acff321b4
--- /dev/null
+++ b/tiramisu/patches/patch-Makefile
@@ -0,0 +1,23 @@
+$NetBSD$
+
+Do not override user's CFLAGS
+
+--- Makefile.orig 2020-09-21 07:05:29.000000000 +0000
++++ Makefile
+@@ -4,14 +4,14 @@ SRC := src/tiramisu.c src/output.c
+
+ PREFIX ?= /usr/local
+
+-CFLAGS = -Wall -Wno-unused-value
++CFLAGS+= -Wall -Wno-unused-value
+ IFLAGS = $(shell pkg-config --cflags glib-2.0 gio-2.0)
+ LFLAGS = $(shell pkg-config --libs glib-2.0 gio-2.0)
+
+ all: $(TARGET)
+
+ $(TARGET): $(OBJ)
+- $(CC) $(CFLAGS) $(IFLAGS) $(SRC) $(LFLAGS) -o $(TARGET)
++ $(CC) $(CFLAGS) $(IFLAGS) $(SRC) $(LFLAGS) $(LDFLAGS) -o $(TARGET)
+
+ install: $(TARGET)
+ mkdir -p $(DESTDIR)$(PREFIX)/bin
Home |
Main Index |
Thread Index |
Old Index