summaryrefslogtreecommitdiff
path: root/editors/emacs22
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2005-05-05 17:22:06 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2005-05-05 17:22:06 +0000
commitc47c30191a15753f4cbe4750afd67c4463f895bf (patch)
treeed971be95e2ac97400e2b97e6802ee2c76bd8052 /editors/emacs22
parent- Update to latest acronyms database from NetBSD. (diff)
Replace -O(2|3|s) CFLAGS with -O on ia64 for a workaround to fix elisp processing errors.
PR: ports/75832 Submitted by: KIMURA Yasuhiro <yasu@utahime.org> Fix submitted by: yoichi
Notes
Notes: svn path=/head/; revision=134666
Diffstat (limited to 'editors/emacs22')
-rw-r--r--editors/emacs22/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/editors/emacs22/Makefile b/editors/emacs22/Makefile
index 83d93917cca0..17ffb6e815ea 100644
--- a/editors/emacs22/Makefile
+++ b/editors/emacs22/Makefile
@@ -51,6 +51,13 @@ TEXIFILES= ada-mode autotype cc-mode cl dired-x ebrowse ediff \
LATEST_LINK= emacs
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "ia64"
+CFLAGS:= ${CFLAGS:C/-O(2|3|s)/-O/g}
+CONFIGURE_ENV= CFLAGS="${CFLAGS}"
+.endif
+
pre-everything::
.if !defined(WITH_MENUBAR_FONTSET)
@${ECHO_MSG} "====>"
@@ -77,4 +84,4 @@ post-build:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>