aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--editors/emacs/Makefile8
-rw-r--r--editors/emacs19/Makefile8
-rw-r--r--editors/emacs22/Makefile8
-rw-r--r--editors/emacs23/Makefile8
4 files changed, 28 insertions, 4 deletions
diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile
index 4dd6e7b86628..44214c05e8a2 100644
--- a/editors/emacs/Makefile
+++ b/editors/emacs/Makefile
@@ -32,6 +32,12 @@ CONFIGURE_ARGS= --with-x=no --sharedstatedir=/var/run
STRIP=
MAN1= emacs.1 etags.1 ctags.1
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386" && ${OSVERSION} >= 502102
+BROKEN= "Does not compile on !i386 5.x"
+.endif
+
post-install:
.for file in emacs-19.34 emacsclient etags ctags b2m
${STRIP_CMD} ${PREFIX}/bin/${file}
@@ -44,4 +50,4 @@ post-install:
@${MKDIR} ${PREFIX}/etc/rc.d
@${INSTALL_SCRIPT} ${FILESDIR}/emacs.sh ${PREFIX}/etc/rc.d
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/editors/emacs19/Makefile b/editors/emacs19/Makefile
index 4dd6e7b86628..44214c05e8a2 100644
--- a/editors/emacs19/Makefile
+++ b/editors/emacs19/Makefile
@@ -32,6 +32,12 @@ CONFIGURE_ARGS= --with-x=no --sharedstatedir=/var/run
STRIP=
MAN1= emacs.1 etags.1 ctags.1
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386" && ${OSVERSION} >= 502102
+BROKEN= "Does not compile on !i386 5.x"
+.endif
+
post-install:
.for file in emacs-19.34 emacsclient etags ctags b2m
${STRIP_CMD} ${PREFIX}/bin/${file}
@@ -44,4 +50,4 @@ post-install:
@${MKDIR} ${PREFIX}/etc/rc.d
@${INSTALL_SCRIPT} ${FILESDIR}/emacs.sh ${PREFIX}/etc/rc.d
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/editors/emacs22/Makefile b/editors/emacs22/Makefile
index 4dd6e7b86628..44214c05e8a2 100644
--- a/editors/emacs22/Makefile
+++ b/editors/emacs22/Makefile
@@ -32,6 +32,12 @@ CONFIGURE_ARGS= --with-x=no --sharedstatedir=/var/run
STRIP=
MAN1= emacs.1 etags.1 ctags.1
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386" && ${OSVERSION} >= 502102
+BROKEN= "Does not compile on !i386 5.x"
+.endif
+
post-install:
.for file in emacs-19.34 emacsclient etags ctags b2m
${STRIP_CMD} ${PREFIX}/bin/${file}
@@ -44,4 +50,4 @@ post-install:
@${MKDIR} ${PREFIX}/etc/rc.d
@${INSTALL_SCRIPT} ${FILESDIR}/emacs.sh ${PREFIX}/etc/rc.d
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/editors/emacs23/Makefile b/editors/emacs23/Makefile
index 4dd6e7b86628..44214c05e8a2 100644
--- a/editors/emacs23/Makefile
+++ b/editors/emacs23/Makefile
@@ -32,6 +32,12 @@ CONFIGURE_ARGS= --with-x=no --sharedstatedir=/var/run
STRIP=
MAN1= emacs.1 etags.1 ctags.1
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386" && ${OSVERSION} >= 502102
+BROKEN= "Does not compile on !i386 5.x"
+.endif
+
post-install:
.for file in emacs-19.34 emacsclient etags ctags b2m
${STRIP_CMD} ${PREFIX}/bin/${file}
@@ -44,4 +50,4 @@ post-install:
@${MKDIR} ${PREFIX}/etc/rc.d
@${INSTALL_SCRIPT} ${FILESDIR}/emacs.sh ${PREFIX}/etc/rc.d
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>