ports/www/webgrind/files/patch-makefile
Franco Fichtner 632357b161 www/webgrind: Update to 1.9.2
- use DISTVERSION instead of PORTVERSION
 - pet portlint
 - pet portclippy

ChangeLog: https://github.com/jokkedk/webgrind/releases/tag/v1.9.2

PR:		264546
2022-06-09 11:03:11 +01:00

17 lines
363 B
Text

--- makefile.orig 2022-05-31 07:36:32 UTC
+++ makefile
@@ -1,4 +1,5 @@
-CXX = g++
+CXX ?= g++
+CXXFLAGS ?= -O2
SRCS = library/preprocessor.cpp
OUT = bin/preprocessor
@@ -15,6 +16,6 @@ clean:
rm -f $(OUT)
$(OUT): $(SRCS)
- $(CXX) -o $(OUT) -O2 -s $(SRCS) -lz -DWITH_ZLIB
+ $(CXX) -o $(OUT) $(CXXFLAGS) -s $(SRCS) -lz -DWITH_ZLIB
.PHONY: all help clean