aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2005-05-06 01:22:06 +0800
committernobutaka <nobutaka@FreeBSD.org>2005-05-06 01:22:06 +0800
commit1c01def6c78d13584dbb15dbb48b4d55e224ebb4 (patch)
treef0f0659b315b46355f487529e487ee1c064f7b1d /editors
parent486e2f693541e98a99f044e7479515fce351a99b (diff)
downloadfreebsd-ports-gnome-1c01def6c78d13584dbb15dbb48b4d55e224ebb4.tar.gz
freebsd-ports-gnome-1c01def6c78d13584dbb15dbb48b4d55e224ebb4.tar.zst
freebsd-ports-gnome-1c01def6c78d13584dbb15dbb48b4d55e224ebb4.zip
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
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs/Makefile9
-rw-r--r--editors/emacs22/Makefile9
-rw-r--r--editors/emacs23/Makefile9
3 files changed, 24 insertions, 3 deletions
diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile
index 83d93917cca0..17ffb6e815ea 100644
--- a/editors/emacs/Makefile
+++ b/editors/emacs/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>
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>
diff --git a/editors/emacs23/Makefile b/editors/emacs23/Makefile
index 83d93917cca0..17ffb6e815ea 100644
--- a/editors/emacs23/Makefile
+++ b/editors/emacs23/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>