summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install/patches/patch-aa
blob: 5dadc23537a5ca1afecce17961e364589aaffca2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-aa,v 1.11 2002/11/23 22:49:48 jschauma Exp $

--- Makefile.inc.orig	Sat Nov 23 17:37:17 2002
+++ Makefile.inc	Sat Nov 23 17:39:38 2002
@@ -3,6 +3,9 @@
 
 .include <bsd.own.mk>
 
+.if !defined(PRINTOBJDIR)
+PRINTOBJDIR=   printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -B -s -f-
+.endif
 LIBINSTALL != cd ${.CURDIR}/../lib && ${PRINTOBJDIR}
 CPPFLAGS+=-I${.CURDIR}/../lib ${DEBUG} -DBINDIR='"${BINDIR}"'
 
@@ -29,7 +32,7 @@
 #CHMOD_CMD?= /bin/chmod
 #CHOWN_CMD?= /usr/sbin/chown
 #CHGRP_CMD?= /usr/bin/chgrp
-WARNS=2
+WARNS=1
 
 #CPPFLAGS+= -DCHMOD_CMD='"${CHMOD_CMD}"' -DCHOWN_CMD='"${CHOWN_CMD}"'
 #CPPFLAGS+= -DCHGRP_CMD='"${CHGRP_CMD}"'