aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2007-05-27 04:38:49 +0800
committerkris <kris@FreeBSD.org>2007-05-27 04:38:49 +0800
commit49eee82af863d42175907892f42be544e3a3ae64 (patch)
tree171523fccbb3f3713f52c39c0663b6c6c8cae5c6 /editors
parent9b5e5e76c02e2d75cbc1e07889ace8ec79a231a2 (diff)
downloadfreebsd-ports-gnome-49eee82af863d42175907892f42be544e3a3ae64.tar.gz
freebsd-ports-gnome-49eee82af863d42175907892f42be544e3a3ae64.tar.zst
freebsd-ports-gnome-49eee82af863d42175907892f42be544e3a3ae64.zip
BROKEN with gcc 4.2
Diffstat (limited to 'editors')
-rw-r--r--editors/cooledit/Makefile8
-rw-r--r--editors/dedit/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/editors/cooledit/Makefile b/editors/cooledit/Makefile
index 2201f1f52b77..2fa80b39f44f 100644
--- a/editors/cooledit/Makefile
+++ b/editors/cooledit/Makefile
@@ -35,7 +35,13 @@ CFLAGS+= -DHAVE_MBRTOWC
CONFIGURE_ARGS+= --enable-NeXT-look
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|po pixmap man|po man|g' ${WRKSRC}/Makefile.in
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
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>