net/tayga: better fix with sed in case this is updated

This commit is contained in:
Franco Fichtner 2017-06-15 19:04:51 +02:00
parent 8e67458cc0
commit 3291b3429e
2 changed files with 3 additions and 11 deletions

View file

@ -15,4 +15,7 @@ GNU_CONFIGURE= yes
USE_HARDENING= pie relro safestack
post-configure:
@${REINPLACE_CMD} -e 's|^CFLAGS =|CFLAGS ?=|g' ${WRKSRC}/Makefile
.include <bsd.port.mk>

View file

@ -1,11 +0,0 @@
--- Makefile.in.orig 2017-06-01 06:29:03 UTC
+++ Makefile.in
@@ -113,7 +113,7 @@ AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
-CFLAGS = @CFLAGS@
+CFLAGS ?= @CFLAGS@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = -DTAYGA_CONF_PATH=\"$(tayga_conf_path)\"