From owner-svn-ports-head@freebsd.org Tue Sep 18 20:04:05 2018 Return-Path: Delivered-To: svn-ports-head@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 F3E6510A789E; Tue, 18 Sep 2018 20:04:04 +0000 (UTC) (envelope-from emaste@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 A3771811EA; Tue, 18 Sep 2018 20:04:04 +0000 (UTC) (envelope-from emaste@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 9E51D24AC1; Tue, 18 Sep 2018 20:04:04 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8IK44X6034321; Tue, 18 Sep 2018 20:04:04 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8IK44QJ034320; Tue, 18 Sep 2018 20:04:04 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <201809182004.w8IK44QJ034320@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Tue, 18 Sep 2018 20:04:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480075 - head/graphics/lua-gd X-SVN-Group: ports-head X-SVN-Commit-Author: emaste X-SVN-Commit-Paths: head/graphics/lua-gd X-SVN-Commit-Revision: 480075 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2018 20:04:05 -0000 Author: emaste (src committer) Date: Tue Sep 18 20:04:04 2018 New Revision: 480075 URL: https://svnweb.freebsd.org/changeset/ports/480075 Log: graphics/lua-gd: enable PIC on arm64 and i386, for lld Shared objects should be built as PIC, and lld enforces this by default. Add aarch64 and i386 cases to the existing set of per-arch CFLAGS, and remove the BROKEN_aarch64. Approved by: portmgr (lld blanket) Sponsored by: The FreeBSD Foundation Modified: head/graphics/lua-gd/Makefile Modified: head/graphics/lua-gd/Makefile ============================================================================== --- head/graphics/lua-gd/Makefile Tue Sep 18 20:00:51 2018 (r480074) +++ head/graphics/lua-gd/Makefile Tue Sep 18 20:04:04 2018 (r480075) @@ -12,8 +12,6 @@ COMMENT= GD bindings for the Lua programming language LICENSE= MIT -BROKEN_aarch64= fails to link: can't create dynamic relocation R_AARCH64_ABS64 against local symbol in readonly segment - LIB_DEPENDS= libgd.so:graphics/gd OPTIONS_DEFINE= DOCS EXAMPLES @@ -25,7 +23,9 @@ GDFEATURES= `gdlib-config --features |sed -e "s/GD_/-D .include +CFLAGS_aarch64+=-fPIC CFLAGS_amd64+= -fPIC +CFLAGS_i386+= -fPIC do-build: ${CC} -o ${WRKSRC}/gd.so ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} ${GDFEATURES} ${WRKSRC}/luagd.c