From b1c00e33a64140687eb1dd9b62b9d27ad0163f5a Mon Sep 17 00:00:00 2001 From: obrien Date: Mon, 6 Dec 2004 00:15:43 +0000 Subject: If built on a machine with GCC 3.2 or later; assume the machine has CPUTYPE set to something GCC 2.8 / GNAT Ada won't understand. --- devel/asis/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'devel/asis') diff --git a/devel/asis/Makefile b/devel/asis/Makefile index bc6cb3958caa..052581b1c021 100644 --- a/devel/asis/Makefile +++ b/devel/asis/Makefile @@ -20,6 +20,11 @@ COMMENT= GNAT implementation of the Ada Semantic Interface Specification BUILD_DEPENDS= adagcc:${PORTSDIR}/lang/gnat +.include + +.if ${OSVERSION} >= 500039 +WITHOUT_CPU_CFLAGS= yes +.endif USE_GMAKE= yes MAKEFILE= "${FILESDIR}/Makefile.bsd" MAKE_ARGS= GMAKE=${GMAKE} PORTVERSION=${PORTVERSION} \ @@ -46,4 +51,4 @@ post-install: @${INSTALL_DATA} ${WRKSRC}/tools/gnatstub/README ${DOCSDIR}/README.gnatstub .endif -.include +.include -- cgit