system/resource-agents: Fix 15.0 build.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-02-09 04:38:31 -05:00 committed by Willy Sudiarto Raharjo
parent 5806b53fe6
commit 467983399a
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -22,6 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20220209 bkw: Modified by SlackBuilds.org: add --disable-fatal-warnings
# to fix the build on 15.0.
# Note: this still isn't perfect: running the SlackBuild results in
# /run/resource-agents and /run/resource-agents/tomcat_tomcatstate
# getting created (that's the real /run, not under $PKG).
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=resource-agents
@ -91,6 +98,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-dependency-tracking \
--disable-fatal-warnings \
--build=$ARCH-slackware-linux
make