MFH: r531755 r531762
Remove the -pedantic flag to fix build on GCC-based systems: cc1: error: unrecognized command line option "-Wpedantic" Approved by: portmgr (tier-2 blanket) devel/samurai: Remove new cruft - USES=compiler:c11 should no longer be necessary after r531755. - build.ninja patch is pointless since the build does not use it. Besides that while GCC 4.2 does not understand -Wpedantic it should recognize -pedantic fine. Approved by: ports-secteam blanket
This commit is contained in:
parent
b6606d9de4
commit
f51955d654
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q2/; revision=531923
@ -13,8 +13,6 @@ LICENSE_COMB= multi
|
||||
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE
|
||||
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= compiler:c11
|
||||
|
||||
ALL_TARGET= samu
|
||||
PLIST_FILES= bin/samu \
|
||||
man/man1/samu.1.gz
|
||||
|
11
devel/samurai/files/patch-Makefile
Normal file
11
devel/samurai/files/patch-Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.orig 2020-03-29 00:40:58 UTC
|
||||
+++ Makefile
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
PREFIX=/usr/local
|
||||
MANDIR=$(PREFIX)/share/man
|
||||
-ALL_CFLAGS=$(CFLAGS) -std=c99 -Wall -Wextra -Wpedantic
|
||||
+ALL_CFLAGS=$(CFLAGS) -std=c99 -Wall -Wextra
|
||||
OBJ=\
|
||||
build.o\
|
||||
deps.o\
|
Loading…
Reference in New Issue
Block a user