summaryrefslogtreecommitdiff
path: root/editors/dedit
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2007-05-26 20:38:49 +0000
committerKris Kennaway <kris@FreeBSD.org>2007-05-26 20:38:49 +0000
commitadd90dd319be1d4e500d5a1fc89f648ef45d6af8 (patch)
tree5296c17af9e0f98777120d8d08a8bc295a1b6000 /editors/dedit
parentFix build with gcc4.2 (diff)
BROKEN with gcc 4.2
Notes
Notes: svn path=/head/; revision=191937
Diffstat (limited to 'editors/dedit')
-rw-r--r--editors/dedit/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/editors/dedit/Makefile b/editors/dedit/Makefile
index cb5e58ddb228..e7cd33edd9d9 100644
--- a/editors/dedit/Makefile
+++ b/editors/dedit/Makefile
@@ -27,6 +27,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= dedit.1
MANLANG= "" ja
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
pre-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|\(\$$(datadir)/\)gnome/|\1|g ; \
@@ -35,4 +41,4 @@ pre-patch:
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/dedit.ja.1 ${MANPREFIX}/man/ja/man1/dedit.1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>