From owner-svn-ports-all@freebsd.org Sun Aug 12 12:32:09 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3C7E9106F4C3; Sun, 12 Aug 2018 12:32:09 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E410E85EF0; Sun, 12 Aug 2018 12:32:08 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C528B26097; Sun, 12 Aug 2018 12:32:08 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w7CCW8nP045137; Sun, 12 Aug 2018 12:32:08 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7CCW8JX045136; Sun, 12 Aug 2018 12:32:08 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201808121232.w7CCW8JX045136@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sun, 12 Aug 2018 12:32:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r476986 - head/games/golly X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/games/golly X-SVN-Commit-Revision: 476986 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2018 12:32:09 -0000 Author: tobik Date: Sun Aug 12 12:32:08 2018 New Revision: 476986 URL: https://svnweb.freebsd.org/changeset/ports/476986 Log: games/golly: Fix build on aarch64 or when objdump is missing Golly dlopens Python at runtime and looks up its shared library name during configure. It first tries to do this using distutils.sysconfig.get_config_var("LDLIBRARY"), and then tries to use objdump if that fails. Since the former is unlikely to ever fail on FreeBSD, objdump will never actually be called and we can pacify configure by pretending objdump is available. Modified: head/games/golly/Makefile Modified: head/games/golly/Makefile ============================================================================== --- head/games/golly/Makefile Sun Aug 12 12:20:35 2018 (r476985) +++ head/games/golly/Makefile Sun Aug 12 12:32:08 2018 (r476986) @@ -12,14 +12,17 @@ COMMENT= Conway's Game of Life and other cellular auto LICENSE= GPLv2+ -BROKEN_aarch64= fails to configure: missing objdump - USES= compiler:c++11-lib python:2.7 USE_GL= gl glu USE_WX= 3.0+ GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-wx-config=${WX_CONFIG:T} +# Pretend objdump is available even if it is not e.g. on aarch64. +# The Python shared library name is already looked up via +# distutils.sysconfig.get_config_var("LDLIBRARY") which is unlikely +# to fail; objdump is never actually used. +CONFIGURE_ARGS= ac_cv_prog_OBJDUMP=/usr/bin/false \ + --with-wx-config=${WX_CONFIG:T} CXXFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib