pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ttyplot: adjust CFLAGS in Makefile the same way as in www/stagit.



Module Name:	pkgsrc-wip
Committed By:	Frederic Cambus <fred%statdns.com@localhost>
Pushed By:	fcambus
Date:		Thu Jun 20 21:52:34 2019 +0200
Changeset:	06dc8427a86e2af9a1dd63ec1da36a82fc5f7059

Modified Files:
	ttyplot/Makefile

Log Message:
ttyplot: adjust CFLAGS in Makefile the same way as in www/stagit.

Spotted by leot@, thanks!

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=06dc8427a86e2af9a1dd63ec1da36a82fc5f7059

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 ttyplot/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diffs:
diff --git a/ttyplot/Makefile b/ttyplot/Makefile
index caf54f6f27..f240b7aa87 100644
--- a/ttyplot/Makefile
+++ b/ttyplot/Makefile
@@ -14,7 +14,8 @@ 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},'
+SUBST_SED.makefile+=	-e '/^CFLAGS/ s,-O3,,'
+SUBST_SED.makefile+=	-e 's,^CFLAGS *= ,CFLAGS += ,'
 
 DOCDIR=		share/doc/ttyplot
 


Home | Main Index | Thread Index | Old Index