aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-12-06 08:15:43 +0800
committerobrien <obrien@FreeBSD.org>2004-12-06 08:15:43 +0800
commitb1c00e33a64140687eb1dd9b62b9d27ad0163f5a (patch)
treee61228a599808fea770ef1e8f0adcb97f812ff3b
parent071b22bb5a9af35bf69f5f832ccb13c45e1d28cd (diff)
downloadfreebsd-ports-gnome-b1c00e33a64140687eb1dd9b62b9d27ad0163f5a.tar.gz
freebsd-ports-gnome-b1c00e33a64140687eb1dd9b62b9d27ad0163f5a.tar.zst
freebsd-ports-gnome-b1c00e33a64140687eb1dd9b62b9d27ad0163f5a.zip
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.
-rw-r--r--devel/asis-gpl/Makefile7
-rw-r--r--devel/asis/Makefile7
-rw-r--r--lang/glade-gpl/Makefile7
-rw-r--r--lang/gnat-glade/Makefile7
-rw-r--r--textproc/xmlada/Makefile7
5 files changed, 30 insertions, 5 deletions
diff --git a/devel/asis-gpl/Makefile b/devel/asis-gpl/Makefile
index bc6cb3958caa..052581b1c021 100644
--- a/devel/asis-gpl/Makefile
+++ b/devel/asis-gpl/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>
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>
diff --git a/lang/glade-gpl/Makefile b/lang/glade-gpl/Makefile
index 6f79d2d978aa..b2c96344f356 100644
--- a/lang/glade-gpl/Makefile
+++ b/lang/glade-gpl/Makefile
@@ -18,6 +18,11 @@ COMMENT= GNU Ada distributed systems annex
BUILD_DEPENDS= adagcc:${PORTSDIR}/lang/gnat
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500039
+WITHOUT_CPU_CFLAGS= yes
+.endif
USE_AUTOMAKE_VER=14
USE_AUTOCONF_VER=213
CONFIGURE_ENV= ADA=adagcc
@@ -31,4 +36,4 @@ pre-configure:
post-install:
${STRIP_CMD} ${PREFIX}/bin/gnatdist
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/lang/gnat-glade/Makefile b/lang/gnat-glade/Makefile
index 6f79d2d978aa..b2c96344f356 100644
--- a/lang/gnat-glade/Makefile
+++ b/lang/gnat-glade/Makefile
@@ -18,6 +18,11 @@ COMMENT= GNU Ada distributed systems annex
BUILD_DEPENDS= adagcc:${PORTSDIR}/lang/gnat
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500039
+WITHOUT_CPU_CFLAGS= yes
+.endif
USE_AUTOMAKE_VER=14
USE_AUTOCONF_VER=213
CONFIGURE_ENV= ADA=adagcc
@@ -31,4 +36,4 @@ pre-configure:
post-install:
${STRIP_CMD} ${PREFIX}/bin/gnatdist
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
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 <bsd.port.pre.mk>
+
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>