summaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorgj <gj@FreeBSD.org>2002-10-22 08:09:58 +0000
committergj <gj@FreeBSD.org>2002-10-22 08:09:58 +0000
commit731fcd931157b889db0937b1dfa7b357e64a2f83 (patch)
treed0ec610dbf14e53ffdee4fe019f8733bf2ecee08 /editors
parent0f5e1bf99b06eb138cfca351fb1ddada68841435 (diff)
downloadFreeBSD-ports-731fcd931157b889db0937b1dfa7b357e64a2f83.zip
FreeBSD-ports-731fcd931157b889db0937b1dfa7b357e64a2f83.tar.gz
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
Diffstat (limited to 'editors')
-rw-r--r--editors/xemacs21/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/editors/xemacs21/Makefile b/editors/xemacs21/Makefile
index 590af38..288f1ac 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 <bsd.port.pre.mk>
+
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud