aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--misc/screen/Makefile8
-rw-r--r--sysutils/screen/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/misc/screen/Makefile b/misc/screen/Makefile
index 015bb0917ec2..89c6b8b49c1f 100644
--- a/misc/screen/Makefile
+++ b/misc/screen/Makefile
@@ -18,6 +18,12 @@ COMMENT= A multi-screen window manager
GNU_CONFIGURE= yes
MAN1= screen.1
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "alpha"
+CFLAGS+= -O0
+.endif
+
post-patch:
@${RM} ${WRKSRC}/doc/screen.info*
@@ -27,4 +33,4 @@ post-install:
${CP} ${PREFIX}/etc/screenrc.sample ${PREFIX}/etc/screenrc ; \
fi
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/sysutils/screen/Makefile b/sysutils/screen/Makefile
index 015bb0917ec2..89c6b8b49c1f 100644
--- a/sysutils/screen/Makefile
+++ b/sysutils/screen/Makefile
@@ -18,6 +18,12 @@ COMMENT= A multi-screen window manager
GNU_CONFIGURE= yes
MAN1= screen.1
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "alpha"
+CFLAGS+= -O0
+.endif
+
post-patch:
@${RM} ${WRKSRC}/doc/screen.info*
@@ -27,4 +33,4 @@ post-install:
${CP} ${PREFIX}/etc/screenrc.sample ${PREFIX}/etc/screenrc ; \
fi
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>