Received: by mail.netbsd.org (Postfix, from userid 605) id 05FDB84F01; Wed, 24 Jun 2020 16:10:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 80AE584D8A for ; Wed, 24 Jun 2020 16:10:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id D0kqkmlkIlEu for ; Wed, 24 Jun 2020 16:10:32 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 081AE84D20 for ; Wed, 24 Jun 2020 16:10:32 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 0142BFB28; Wed, 24 Jun 2020 16:10:31 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1593015031271270" MIME-Version: 1.0 Date: Wed, 24 Jun 2020 16:10:31 +0000 From: "Hauke Fath" Subject: CVS commit: pkgsrc/editors To: pkgsrc-changes@NetBSD.org Reply-To: hauke@netbsd.org X-Mailer: log_accum Message-Id: <20200624161032.0142BFB28@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1593015031271270 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: hauke Date: Wed Jun 24 16:10:31 UTC 2020 Modified Files: pkgsrc/editors/xemacs: hacks.mk pkgsrc/editors/xemacs-current: hacks.mk Log Message: Disable generation of PIE code for clang, too, unbreaking the xemacs build on Mac OS X (10.12 here). Note that xemacs-current does not yet build on this platform: src/vdb-mach.c blindly assumes a powerpc cpu. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 pkgsrc/editors/xemacs/hacks.mk cvs rdiff -u -r1.3 -r1.4 pkgsrc/editors/xemacs-current/hacks.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1593015031271270 Content-Disposition: inline Content-Length: 1773 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/editors/xemacs/hacks.mk diff -u pkgsrc/editors/xemacs/hacks.mk:1.7 pkgsrc/editors/xemacs/hacks.mk:1.8 --- pkgsrc/editors/xemacs/hacks.mk:1.7 Thu Apr 11 16:05:24 2019 +++ pkgsrc/editors/xemacs/hacks.mk Wed Jun 24 16:10:31 2020 @@ -1,16 +1,20 @@ -# $NetBSD: hacks.mk,v 1.7 2019/04/11 16:05:24 hauke Exp $ +# $NetBSD: hacks.mk,v 1.8 2020/06/24 16:10:31 hauke Exp $ .if !defined(XEMACS_HACKS_MK) XEMACS_HACKS_MK= defined .include "../../mk/compiler.mk" -### Position-independent code does not rhyme well with -### dumped emacsen. +### Position-independent code does not rhyme well with dumped emacsen. ### .if !empty(CC_VERSION:Mgcc-[6789].*) PKG_HACKS+= disable-gcc-pie CFLAGS+= -no-pie .endif +.if !empty(CC_VERSION:Mclang-*) +PKG_HACKS+= disable-clang-pie +CFLAGS+= -fno-pie +.endif + .endif # XEMACS_HACKS_MK Index: pkgsrc/editors/xemacs-current/hacks.mk diff -u pkgsrc/editors/xemacs-current/hacks.mk:1.3 pkgsrc/editors/xemacs-current/hacks.mk:1.4 --- pkgsrc/editors/xemacs-current/hacks.mk:1.3 Thu Apr 11 16:05:24 2019 +++ pkgsrc/editors/xemacs-current/hacks.mk Wed Jun 24 16:10:31 2020 @@ -1,16 +1,20 @@ -# $NetBSD: hacks.mk,v 1.3 2019/04/11 16:05:24 hauke Exp $ +# $NetBSD: hacks.mk,v 1.4 2020/06/24 16:10:31 hauke Exp $ .if !defined(XEMACS_CURRENT_HACKS_MK) XEMACS_CURRENT_HACKS_MK= defined .include "../../mk/compiler.mk" -### Position-independent code does not rhyme well with -### dumped emacsen. +### Position-independent code does not rhyme well with dumped emacsen. ### .if !empty(CC_VERSION:Mgcc-[6789].*) PKG_HACKS+= disable-gcc-pie CFLAGS+= -no-pie .endif +.if !empty(CC_VERSION:Mclang-*) +PKG_HACKS+= disable-clang-pie +CFLAGS+= -fno-pie +.endif + .endif # XEMACS_CURRENT_HACKS_MK --_----------=_1593015031271270--