Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 2015 10:30:49 +0600
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        freebsd-pkg@freebsd.org
Subject:   "poudriere distclean" complains about /etc/make.conf
Message-ID:  <20150217043049.GA68755@admin.sibptus.tomsk.ru>

next in thread | raw e-mail | index | archive | help
Colleagues,

I have the following construct in /etc/make.conf but not in
/usr/local/etc/poudriere.d/make.conf:

.if ${.CURDIR:M*/mail/spamassassin} && ${HOST} == "relay.sibptus.ru"
EXTRA_PATCHES+=/root/patches/Mail-SpamAssassin-3.3.1.sa-cgp.diff:-p1
.endif

When I run "poudriere distclean", it complains about this construct: 

WARNING (mail/spamassassin): "/etc/make.conf", line 15:
Malformed conditional (${.CURDIR:M*/mail/spamassassin} && ${HOST} == "relay.sibptus.ru")
WARNING (mail/spamassassin): "/usr/share/mk/sys.mk", line 340: if-less endif
WARNING (mail/spamassassin): make: fatal errors encountered -- cannot continue

I have two questions.

1. Why does it complain? The conditional seems legit.

2. Why does it use the global /etc/make.conf and not its own
/usr/local/etc/poudriere.d/make.conf when running "poudriere distclean"?

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov@sibptus.tomsk.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150217043049.GA68755>