summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-08-16 02:47:09 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-08-16 02:47:09 +0000
commiteb9984e0f5ec02abe837b7388b574d185c7ed621 (patch)
treede5b178d08b2c6aaf058df603c23439e2635ec4a /textproc
parento add missing jpeg dependency, broken configure script did not detect it. (diff)
BROKEN on 5.x: Does not compile with gcc 3.4.2
Notes
Notes: svn path=/head/; revision=116342
Diffstat (limited to 'textproc')
-rw-r--r--textproc/nicetext/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/textproc/nicetext/Makefile b/textproc/nicetext/Makefile
index a9b8299a35a3..0fee8c888ca1 100644
--- a/textproc/nicetext/Makefile
+++ b/textproc/nicetext/Makefile
@@ -25,6 +25,12 @@ PROGRAMS= bitcp dct2mstr expgram genmodel gramtest impkimmo impmsc \
impwbstr listword nicetext nttpd printint rinfo scramble \
sortdct txt2dct
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
post-patch:
@${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \
's|gcc|$${CC}|g ; \
@@ -53,4 +59,4 @@ post-install:
@${CHOWN} -R ${SHAREOWN}:${SHAREMODE} ${EXAMPLESDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>