summaryrefslogtreecommitdiff
path: root/devel/linguist
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-03-11 09:04:13 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-03-11 09:04:13 +0000
commit1fa168c6608d6f65d15268f8a75a9223cdfbc2e9 (patch)
tree5e3ca0f788029e62a727919c54fc5d26b7aed3bd /devel/linguist
parentMake it actually fetchable. (diff)
Workaround a c++ bug on alpha.
Submitted by: steve
Notes
Notes: svn path=/head/; revision=39568
Diffstat (limited to 'devel/linguist')
-rw-r--r--devel/linguist/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/linguist/Makefile b/devel/linguist/Makefile
index 0f9cd20f3bb0..6115102291c8 100644
--- a/devel/linguist/Makefile
+++ b/devel/linguist/Makefile
@@ -28,6 +28,12 @@ MAKE_ENV= TMAKEPATH="${LOCALBASE}/share/tmake/freebsd-g++" \
MOC="${X11BASE}/bin/moc2"
MAKE_ARGS= -e
+.include <bsd.port.pre.mk>
+
+.if ${MACHINE_ARCH} == "alpha"
+CFLAGS+= -O0
+.endif
+
post-configure:
@${PERL} -pi -e 's|\$\(SUBDIRS\):.*tmake_all|\$\(SUBDIRS\):|' \
${WRKSRC}/Makefile
@@ -41,4 +47,4 @@ do-install:
${MKDIR} ${PREFIX}/share/doc/linguist
${INSTALL_MAN} ${WRKSRC}/linguist/tutorial/doc/html/* ${PREFIX}/share/doc/linguist
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>