summaryrefslogtreecommitdiff
path: root/pkgtools/bootstrap-mk-files
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2011-10-31 23:41:21 +0000
committersbd <sbd@pkgsrc.org>2011-10-31 23:41:21 +0000
commit8abe9604d7ad753704f88d12bb97d0df7f24fdfe (patch)
treead6fbfdb0117e6ed5277e51c29ba86ce0b226747 /pkgtools/bootstrap-mk-files
parent2bd53f2c627b787c7db88dc67bda867fa235888b (diff)
downloadpkgsrc-8abe9604d7ad753704f88d12bb97d0df7f24fdfe.tar.gz
Move the NOGCCERROR. When using '+=' on a make variable it must come
_after_ '?=' is used on that variable. Bump PKGREVISION
Diffstat (limited to 'pkgtools/bootstrap-mk-files')
-rw-r--r--pkgtools/bootstrap-mk-files/Makefile4
-rw-r--r--pkgtools/bootstrap-mk-files/files/mods/Linux.sys.mk14
2 files changed, 9 insertions, 9 deletions
diff --git a/pkgtools/bootstrap-mk-files/Makefile b/pkgtools/bootstrap-mk-files/Makefile
index 582d5e5a338..e6d535b5449 100644
--- a/pkgtools/bootstrap-mk-files/Makefile
+++ b/pkgtools/bootstrap-mk-files/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.25 2010/05/12 20:57:46 tez Exp $
+# $NetBSD: Makefile,v 1.26 2011/10/31 23:41:21 sbd Exp $
DISTNAME= bootstrap-mk-files-20090807
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/pkgtools/bootstrap-mk-files/files/mods/Linux.sys.mk b/pkgtools/bootstrap-mk-files/files/mods/Linux.sys.mk
index 0bcd98621d3..917dd7f0be4 100644
--- a/pkgtools/bootstrap-mk-files/files/mods/Linux.sys.mk
+++ b/pkgtools/bootstrap-mk-files/files/mods/Linux.sys.mk
@@ -1,16 +1,10 @@
-# $NetBSD: Linux.sys.mk,v 1.2 2009/02/19 00:51:12 abs Exp $
+# $NetBSD: Linux.sys.mk,v 1.3 2011/10/31 23:41:21 sbd Exp $
# NetBSD: sys.mk,v 1.58 2000/08/22 17:38:49 bjh21 Exp
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
unix?= We run Unix.
OS?= Linux
-# At least Ubuntu 8.1 sets __attribute__((warn_unused_result)) on fwrite()
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509
-.if !defined(NOGCCERROR)
-CFLAGS+= -Wno-error
-.endif
-
.SUFFIXES: .out .a .ln .o .s .S .c .cc .cpp .cxx .C .F .f .r .y .l .cl .p .h
.SUFFIXES: .sh .m4
@@ -90,6 +84,12 @@ YACC?= yacc
YFLAGS?=
YACC.y?= ${YACC} ${YFLAGS}
+# At least Ubuntu 8.1 sets __attribute__((warn_unused_result)) on fwrite()
+# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509
+.if !defined(NOGCCERROR)
+CFLAGS+= -Wno-error
+.endif
+
# C
.c:
${LINK.c} -o ${.TARGET} ${.IMPSRC} ${LDLIBS}