aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/webcpp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/webcpp/Makefile')
-rw-r--r--textproc/webcpp/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/textproc/webcpp/Makefile b/textproc/webcpp/Makefile
index dd63f79f228f..4a2998e0829e 100644
--- a/textproc/webcpp/Makefile
+++ b/textproc/webcpp/Makefile
@@ -13,9 +13,13 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= chip-set@mail.ru
-COMMENT= Convert you source code to syntax highlighted HTML
+COMMENT= Convert your source code to syntax highlighted HTML
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
USE_GCC= 3.2
+.endif
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
@@ -38,4 +42,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>