Fix build on systems without /etc/make.conf

PR:		197241
Submitted by:	riggs
Approved by:	ler@lerctr.org (maintainer)
MFH:		2015Q1
This commit is contained in:
Thomas Zander 2015-02-01 15:27:13 +00:00
parent 3b3d70f1d8
commit 544315a336
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378245

View file

@ -0,0 +1,11 @@
--- Configure.orig 2014-12-19 19:55:04.000000000 +0100
+++ Configure 2015-02-01 12:45:30.783557202 +0100
@@ -1642,7 +1642,7 @@
then
FREEBSD_MAKE_CONF="/etc/make.conf"
fi # }
- if test -r $FREEBSD_MAKE_CONF # {
+ if test $FREEBSD_MAKE_CONF # {
then
LSOF_TMP1=`echo "all:\n.include <bsd.prog.mk>" | $LSOF_MAKE -f- -VCFLAGS`
LSOF_TMP=1