Toolchain upgrade and portability improvements.
upgrade to NetBSD CVS release from 2012/10/17 12:00:00 UTC Makefiles updates to imporve portability Made sure to be consistent in the usage of braces/parenthesis at least on a per file basis. For variables, it is recommended to continue to use braces.
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
||||
PROG= mtree
|
||||
#CPPFLAGS+=-DDEBUG
|
||||
CPPFLAGS+= -DMTREE
|
||||
@@ -11,7 +10,9 @@ MAN= mtree.8
|
||||
SRCS= compare.c crc.c create.c excludes.c misc.c mtree.c spec.c specspec.c \
|
||||
verify.c getid.c pack_dev.c
|
||||
.if (${HOSTPROG:U} == "")
|
||||
.if defined(__MINIX)
|
||||
CPPFLAGS+= -Dlchown=chown -Dlchmod=chmod
|
||||
.endif
|
||||
DPADD+= ${LIBUTIL}
|
||||
LDADD+= -lutil
|
||||
.endif
|
||||
|
||||
Reference in New Issue
Block a user