aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-12-09 22:50:07 +0800
committerbapt <bapt@FreeBSD.org>2014-12-09 22:50:07 +0800
commit844025944df139da562a034e7939bedc3ae16d2a (patch)
treec0b466df3a6be4601de01415b0241aff4c1ed998 /ports-mgmt
parenta24375196bd39dca09820dbd85ac2c3a3156ea12 (diff)
downloadfreebsd-ports-gnome-844025944df139da562a034e7939bedc3ae16d2a.tar.gz
freebsd-ports-gnome-844025944df139da562a034e7939bedc3ae16d2a.tar.zst
freebsd-ports-gnome-844025944df139da562a034e7939bedc3ae16d2a.zip
Disable Werror to calm down gcc
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/pkg-devel/Makefile2
-rw-r--r--ports-mgmt/pkg/Makefile1
2 files changed, 2 insertions, 1 deletions
diff --git a/ports-mgmt/pkg-devel/Makefile b/ports-mgmt/pkg-devel/Makefile
index a75404d46b20..a08c31013eaa 100644
--- a/ports-mgmt/pkg-devel/Makefile
+++ b/ports-mgmt/pkg-devel/Makefile
@@ -20,7 +20,7 @@ LICENSE= BSD2CLAUSE
# With no dependency at all
NO_CCACHE= yes
WITH_DEBUG= yes
-CFLAGS+= -O0 -g
+CFLAGS+= -O0 -g -Wno-error
USE_LDCONFIG= yes
USES= libtool tar:xz
GNU_CONFIGURE= yes
diff --git a/ports-mgmt/pkg/Makefile b/ports-mgmt/pkg/Makefile
index cb1d8202e1d3..f2f21ef6b920 100644
--- a/ports-mgmt/pkg/Makefile
+++ b/ports-mgmt/pkg/Makefile
@@ -28,6 +28,7 @@ INSTALL_TARGET= install-strip
# Use a submake as 'deinstall install' needs to reevaluate PKG_CMD
# so that pkg-static is used from the wrkdir
USE_SUBMAKE= yes
+CFLAGS+= -Wno-error
.if !exists(/usr/include/jail.h)
EXTRA_PATCHES= ${FILESDIR}/extra-patch-docs_pkg.8