pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
ttyplot: remove hardcoded optimization (-O3) flag and honour CFLAGS.
Module Name: pkgsrc-wip
Committed By: Frederic Cambus <fred%statdns.com@localhost>
Pushed By: fcambus
Date: Mon May 27 09:06:23 2019 +0200
Changeset: d98045aaa684eae1bea4d44ecaeb3bcc77478157
Modified Files:
ttyplot/Makefile
Log Message:
ttyplot: remove hardcoded optimization (-O3) flag and honour CFLAGS.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d98045aaa684eae1bea4d44ecaeb3bcc77478157
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
ttyplot/Makefile | 7 +++++++
1 file changed, 7 insertions(+)
diffs:
diff --git a/ttyplot/Makefile b/ttyplot/Makefile
index 949907cb0c..5624dc8012 100644
--- a/ttyplot/Makefile
+++ b/ttyplot/Makefile
@@ -9,6 +9,13 @@ HOMEPAGE= https://github.com/tenox7/ttyplot/
COMMENT= Realtime plotting utility for terminals
LICENSE= unlicense
+# Adjust Makefile
+SUBST_CLASSES+= makefile
+SUBST_STAGE.makefile= pre-configure
+SUBST_MESSAGE.makefile= Fixing Makefile
+SUBST_FILES.makefile= Makefile
+SUBST_SED.makefile+= -e '/^CFLAGS/ s,-O3,${CFLAGS},'
+
DOCDIR= share/doc/ttyplot
AUTO_MKDIRS= yes
Home |
Main Index |
Thread Index |
Old Index