pkgsrc-WIP-changes archive

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

Disable ASLR for XEmacs build.



Module Name:	pkgsrc-wip
Committed By:	Hauke Fath <hauke%NetBSD.org@localhost>
Pushed By:	hauke
Date:		Tue Oct 5 17:51:17 2021 +0200
Changeset:	251843328687c3176f5753bcced7580f3e63cfe1

Modified Files:
	xemacs-hg/Makefile

Log Message:
Disable ASLR for XEmacs build.

Just like for the release builds, we disable ASLR (no MKPIE) for this
package. Upstream HEAD's configure does check how to disable pie code
generation, but the check does not work on NetBSD, and it may
interfere with the pkgsrc logic, anyway.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=251843328687c3176f5753bcced7580f3e63cfe1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 xemacs-hg/Makefile | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diffs:
diff --git a/xemacs-hg/Makefile b/xemacs-hg/Makefile
index 0b097ef170..df84c6adfc 100644
--- a/xemacs-hg/Makefile
+++ b/xemacs-hg/Makefile
@@ -12,13 +12,15 @@ COMMENT=	XEmacs text editor (HEAD version)
 
 LICENSE=	gnu-gpl-v3
 
-HG_REPOSITORIES=		xemacs
-HG_REPO.xemacs=			https://foss.heptapod.net/xemacs/xemacs
-WRKSRC=				${WRKDIR}/xemacs
+HG_REPOSITORIES=	xemacs
+HG_REPO.xemacs=		https://foss.heptapod.net/xemacs/xemacs
+WRKSRC=			${WRKDIR}/xemacs
+
+MKPIE_SUPPORTED=	no
 
 .include "options.mk"
 
-LIBDIR=				${PREFIX}/lib/${DISTNAME}
+LIBDIR=			${PREFIX}/lib/${DISTNAME}
 
 .include "../../mk/bsd.prefs.mk"
 


Home | Main Index | Thread Index | Old Index