aboutsummaryrefslogtreecommitdiff
path: root/japanese/emacs-emcws/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/emacs-emcws/Makefile')
-rw-r--r--japanese/emacs-emcws/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/japanese/emacs-emcws/Makefile b/japanese/emacs-emcws/Makefile
index fba2a206c59d..f475bc80e926 100644
--- a/japanese/emacs-emcws/Makefile
+++ b/japanese/emacs-emcws/Makefile
@@ -7,7 +7,7 @@
PORTNAME= emcws
PORTVERSION= ${EMACS_VER}
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= japanese editors ipv6
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= emacs
@@ -149,6 +149,13 @@ EMACS_BASE=${PREFIX}
EMACS_BASE=${LOCALBASE}
.endif
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "ia64"
+CFLAGS:= ${CFLAGS:C/-O.?/-O0/g}
+CONFIGURE_ENV= CFLAGS="${CFLAGS}"
+.endif
+
pre-everything::
@${CAT} ${FILESDIR}/emcws-message
.if !defined(WITH_MENUBAR_FONTSET)
@@ -215,4 +222,4 @@ post-install:
@${ECHO_MSG} "====>"
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>