From 52c365bf21d7d5c8c54e32c8b0a9f37771b9384d Mon Sep 17 00:00:00 2001 From: Volker Stolz Date: Thu, 18 Nov 2004 17:18:09 +0000 Subject: Set USE_GCC only for 4.x FreeBSD with < 3.2 GCC PR: ports/72447 Submitted by: Toni Viemero Approved by: maintainer timeout --- textproc/webcpp/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'textproc/webcpp') 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 + +.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 +.include -- cgit v1.2.3