summaryrefslogtreecommitdiff
path: root/editors/xemacs21
diff options
context:
space:
mode:
authorGary Jennejohn <gj@FreeBSD.org>2002-10-22 08:09:58 +0000
committerGary Jennejohn <gj@FreeBSD.org>2002-10-22 08:09:58 +0000
commitdfbb4be26a618bed30c144966dde4531284d5cf0 (patch)
tree9f95270b591c67ababb9ba2d3309c093cc36b9a0 /editors/xemacs21
parentUpdate WWW URL; add site to ${MASTER_SITES}. (diff)
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
Notes
Notes: svn path=/head/; revision=68584
Diffstat (limited to 'editors/xemacs21')
-rw-r--r--editors/xemacs21/Makefile8
1 files changed, 7 insertions, 1 deletions
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 <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>