From 2588faf0b545b8e6fe02cf5ae2b406fcb928b96f Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" 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. --- textproc/xmlada/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'textproc/xmlada') diff --git a/textproc/xmlada/Makefile b/textproc/xmlada/Makefile index 039ba98bf25d..f4aa1324fabd 100644 --- a/textproc/xmlada/Makefile +++ b/textproc/xmlada/Makefile @@ -18,6 +18,11 @@ COMMENT= An XML parsing library for Ada 95 BUILD_DEPENDS= adagcc:${PORTSDIR}/lang/gnat +.include + +.if ${OSVERSION} >= 500039 +WITHOUT_CPU_CFLAGS= yes +.endif WRKSRC= ${WRKDIR}/xmlada-0.7.1 USE_GMAKE= yes GNU_CONFIGURE= yes @@ -35,4 +40,4 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/docs/xml.info ${PREFIX}/${INFO_PATH}/xmlada.info install-info ${PREFIX}/${INFO_PATH}/xmlada.info ${PREFIX}/${INFO_PATH}/dir -.include +.include -- cgit v1.2.3