aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/webcpp
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-11-19 01:18:09 +0800
committervs <vs@FreeBSD.org>2004-11-19 01:18:09 +0800
commitb5e07109fb530ce0d74ee8af45f1a73da94e9f27 (patch)
tree8f11db0ca70b2a001f9521c7036484cde38582ee /textproc/webcpp
parent32b0d30cf8c94cd8973d1c3170c371ecfa9b0c94 (diff)
downloadfreebsd-ports-gnome-b5e07109fb530ce0d74ee8af45f1a73da94e9f27.tar.gz
freebsd-ports-gnome-b5e07109fb530ce0d74ee8af45f1a73da94e9f27.tar.zst
freebsd-ports-gnome-b5e07109fb530ce0d74ee8af45f1a73da94e9f27.zip
Set USE_GCC only for 4.x FreeBSD with < 3.2 GCC
PR: ports/72447 Submitted by: Toni Viemero Approved by: maintainer timeout
Diffstat (limited to 'textproc/webcpp')
-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>