pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/editors



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.

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



Home | Main Index | Thread Index | Old Index