summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-11-18 17:18:09 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-11-18 17:18:09 +0000
commit52c365bf21d7d5c8c54e32c8b0a9f37771b9384d (patch)
tree8d21bcf22ca6fb6f08a0841a3982bad1279119ad /textproc
parentUpdate to 2004.11.18. (diff)
Set USE_GCC only for 4.x FreeBSD with < 3.2 GCC
PR: ports/72447 Submitted by: Toni Viemero Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=121882
Diffstat (limited to 'textproc')
-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>