From dfbb4be26a618bed30c144966dde4531284d5cf0 Mon Sep 17 00:00:00 2001 From: Gary Jennejohn Date: Tue, 22 Oct 2002 08:09:58 +0000 Subject: xemacs21 is dumping core at start-up on -current. Add an additional CONFIGURE_ARGS line to define ldflags so that the core dump no longer happens. SUBMITTED BY: jhb --- editors/xemacs21/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'editors/xemacs21') diff --git a/editors/xemacs21/Makefile b/editors/xemacs21/Makefile index 590af385c26a..288f1ac49904 100644 --- a/editors/xemacs21/Makefile +++ b/editors/xemacs21/Makefile @@ -97,6 +97,12 @@ WITH_OFFIX?= --with-offix=no # the next .endif belongs to !MULE_PORT .endif +.include + +.if ${OSVERSION} >= 500000 +CONFIGURE_ARGS+= --ldflags=-Wl,-znocombreloc +.endif + # fix .so references in a few man pages pre-configure:: .for file in etc/ctags.1 etc/gnuattach.1 etc/gnuclient.1 etc/gnudoit.1 @@ -125,4 +131,4 @@ post-install:: ${INSTALL_SCRIPT} ${FILESDIR}/xemacs21.sh ${PREFIX}/etc/rc.d .endif -.include +.include -- cgit v1.2.3