summaryrefslogtreecommitdiff
path: root/devel/asis/Makefile
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2004-12-06 00:15:43 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2004-12-06 00:15:43 +0000
commit2588faf0b545b8e6fe02cf5ae2b406fcb928b96f (patch)
treee422f82ef61e4284dc84bdc6de22a6c7d6b5aaff /devel/asis/Makefile
parentBison 1.875 was generating broken C++ code. This patch will be submitted (diff)
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.
Notes
Notes: svn path=/head/; revision=123271
Diffstat (limited to 'devel/asis/Makefile')
-rw-r--r--devel/asis/Makefile7
1 files changed, 6 insertions, 1 deletions
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 <bsd.port.pre.mk>
+
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>