freebsd-ports/sysutils/lsof/files/patch-Configure
Thomas Zander 544315a336 Fix build on systems without /etc/make.conf
PR:		197241
Submitted by:	riggs
Approved by:	ler@lerctr.org (maintainer)
MFH:		2015Q1
2015-02-01 15:27:13 +00:00

11 lines
375 B
Text

--- 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