aboutsummaryrefslogtreecommitdiff
path: root/print/gfontview
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2003-11-02 10:25:46 +0000
committerMark Linimon <linimon@FreeBSD.org>2003-11-02 10:25:46 +0000
commit0e7671526c2c3ebb281d229195653b87b23bfc3d (patch)
tree4afd163e2e2df1fad200e732abbc8979a4d7b256 /print/gfontview
parentc6a36b21483a13ffc6adee931938244ec4e86220 (diff)
Notes
Diffstat (limited to 'print/gfontview')
-rw-r--r--print/gfontview/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/print/gfontview/Makefile b/print/gfontview/Makefile
index 19f5db0c12d9..a47c216701ae 100644
--- a/print/gfontview/Makefile
+++ b/print/gfontview/Makefile
@@ -29,6 +29,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype1/freetype \
CONFIGURE_ARGS= --with-fontdir="${LOCALBASE}/share/ghostscript/fonts" \
--with-libungif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile on FreeBSD ${OSVERSION}"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|CXXFLAGS="-O2"|CXXFLAGS="$$CXXFLAGS"|g ; \
s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
@@ -37,4 +43,4 @@ post-patch:
@${REINPLACE_CMD} -e \
's|-I/usr/include/freetype||g' ${WRKSRC}/Makefile.in
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>