From 1beb04227cb8428c2a59e33027788a72ef1a1ffa Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sun, 27 Sep 1998 01:56:14 +0000 Subject: [PATCH] Build properly on ELF systems. --- lang/egcs/Makefile | 7 ++++++- lang/gcc-devel/Makefile | 7 ++++++- lang/gcc-ooo/Makefile | 7 ++++++- lang/gcc/Makefile | 7 ++++++- lang/gcc295/Makefile | 7 ++++++- lang/gcc30/Makefile | 7 ++++++- lang/gcc31/Makefile | 7 ++++++- lang/gcc32/Makefile | 7 ++++++- lang/gcc33/Makefile | 7 ++++++- lang/gcc34/Makefile | 7 ++++++- lang/gcc35/Makefile | 7 ++++++- lang/gcc40/Makefile | 7 ++++++- lang/gcc41/Makefile | 7 ++++++- lang/gcc42/Makefile | 7 ++++++- lang/gcc43/Makefile | 7 ++++++- lang/gcc44/Makefile | 7 ++++++- lang/gcc45/Makefile | 7 ++++++- lang/gcc46/Makefile | 7 ++++++- lang/gcc47/Makefile | 7 ++++++- lang/gcc48/Makefile | 7 ++++++- 20 files changed, 120 insertions(+), 20 deletions(-) diff --git a/lang/egcs/Makefile b/lang/egcs/Makefile index 39bd266c5987..aebd9611b1eb 100644 --- a/lang/egcs/Makefile +++ b/lang/egcs/Makefile @@ -19,7 +19,6 @@ MAINTAINER= obrien@FreeBSD.org EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} -GNUHOST= i386-unknown-freebsd GNU_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \ @@ -68,3 +67,9 @@ post-install: .endfor .include + +.if (${PORTOBJFORMAT} == "elf") +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif diff --git a/lang/gcc-devel/Makefile b/lang/gcc-devel/Makefile index 39bd266c5987..aebd9611b1eb 100644 --- a/lang/gcc-devel/Makefile +++ b/lang/gcc-devel/Makefile @@ -19,7 +19,6 @@ MAINTAINER= obrien@FreeBSD.org EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} -GNUHOST= i386-unknown-freebsd GNU_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \ @@ -68,3 +67,9 @@ post-install: .endfor .include + +.if (${PORTOBJFORMAT} == "elf") +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif diff --git a/lang/gcc-ooo/Makefile b/lang/gcc-ooo/Makefile index 39bd266c5987..aebd9611b1eb 100644 --- a/lang/gcc-ooo/Makefile +++ b/lang/gcc-ooo/Makefile @@ -19,7 +19,6 @@ MAINTAINER= obrien@FreeBSD.org EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} -GNUHOST= i386-unknown-freebsd GNU_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \ @@ -68,3 +67,9 @@ post-install: .endfor .include + +.if (${PORTOBJFORMAT} == "elf") +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile index 39bd266c5987..aebd9611b1eb 100644 --- a/lang/gcc/Makefile +++ b/lang/gcc/Makefile @@ -19,7 +19,6 @@ MAINTAINER= obrien@FreeBSD.org EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} -GNUHOST= i386-unknown-freebsd GNU_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \ @@ -68,3 +67,9 @@ post-install: .endfor .include + +.if (${PORTOBJFORMAT} == "elf") +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif diff --git a/lang/gcc295/Makefile b/lang/gcc295/Makefile index 39bd266c5987..aebd9611b1eb 100644 --- a/lang/gcc295/Makefile +++ b/lang/gcc295/Makefile @@ -19,7 +19,6 @@ MAINTAINER= obrien@FreeBSD.org EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} -GNUHOST= i386-unknown-freebsd GNU_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \ @@ -68,3 +67,9 @@ post-install: .endfor .include + +.if (${PORTOBJFORMAT} == "elf") +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif diff --git a/lang/gcc30/Makefile b/lang/gcc30/Makefile index 39bd266c5987..aebd9611b1eb 100644 --- a/lang/gcc30/Makefile +++ b/lang/gcc30/Makefile @@ -19,7 +19,6 @@ MAINTAINER= obrien@FreeBSD.org EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} -GNUHOST= i386-unknown-freebsd GNU_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \ @@ -68,3 +67,9 @@ post-install: .endfor .include + +.if (${PORTOBJFORMAT} == "elf") +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif diff --git a/lang/gcc31/Makefile b/lang/gcc31/Makefile index 39bd266c5987..aebd9611b1eb 100644 --- a/lang/gcc31/Makefile +++ b/lang/gcc31/Makefile @@ -19,7 +19,6 @@ MAINTAINER= obrien@FreeBSD.org EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} -GNUHOST= i386-unknown-freebsd GNU_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \ @@ -68,3 +67,9 @@ post-install: .endfor .include + +.if (${PORTOBJFORMAT} == "elf") +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif diff --git a/lang/gcc32/Makefile b/lang/gcc32/Makefile index 39bd266c5987..aebd9611b1eb 100644 --- a/lang/gcc32/Makefile +++ b/lang/gcc32/Makefile @@ -19,7 +19,6 @@ MAINTAINER= obrien@FreeBSD.org EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} -GNUHOST= i386-unknown-freebsd GNU_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \ @@ -68,3 +67,9 @@ post-install: .endfor .include + +.if (${PORTOBJFORMAT} == "elf") +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif diff --git a/lang/gcc33/Makefile b/lang/gcc33/Makefile index 39bd266c5987..aebd9611b1eb 100644 --- a/lang/gcc33/Makefile +++ b/lang/gcc33/Makefile @@ -19,7 +19,6 @@ MAINTAINER= obrien@FreeBSD.org EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} -GNUHOST= i386-unknown-freebsd GNU_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \ @@ -68,3 +67,9 @@ post-install: .endfor .include + +.if (${PORTOBJFORMAT} == "elf") +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif diff --git a/lang/gcc34/Makefile b/lang/gcc34/Makefile index 39bd266c5987..aebd9611b1eb 100644 --- a/lang/gcc34/Makefile +++ b/lang/gcc34/Makefile @@ -19,7 +19,6 @@ MAINTAINER= obrien@FreeBSD.org EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} -GNUHOST= i386-unknown-freebsd GNU_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \ @@ -68,3 +67,9 @@ post-install: .endfor .include + +.if (${PORTOBJFORMAT} == "elf") +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif diff --git a/lang/gcc35/Makefile b/lang/gcc35/Makefile index 39bd266c5987..aebd9611b1eb 100644 --- a/lang/gcc35/Makefile +++ b/lang/gcc35/Makefile @@ -19,7 +19,6 @@ MAINTAINER= obrien@FreeBSD.org EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} -GNUHOST= i386-unknown-freebsd GNU_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \ @@ -68,3 +67,9 @@ post-install: .endfor .include + +.if (${PORTOBJFORMAT} == "elf") +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif diff --git a/lang/gcc40/Makefile b/lang/gcc40/Makefile index 39bd266c5987..aebd9611b1eb 100644 --- a/lang/gcc40/Makefile +++ b/lang/gcc40/Makefile @@ -19,7 +19,6 @@ MAINTAINER= obrien@FreeBSD.org EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} -GNUHOST= i386-unknown-freebsd GNU_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \ @@ -68,3 +67,9 @@ post-install: .endfor .include + +.if (${PORTOBJFORMAT} == "elf") +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif diff --git a/lang/gcc41/Makefile b/lang/gcc41/Makefile index 39bd266c5987..aebd9611b1eb 100644 --- a/lang/gcc41/Makefile +++ b/lang/gcc41/Makefile @@ -19,7 +19,6 @@ MAINTAINER= obrien@FreeBSD.org EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} -GNUHOST= i386-unknown-freebsd GNU_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \ @@ -68,3 +67,9 @@ post-install: .endfor .include + +.if (${PORTOBJFORMAT} == "elf") +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif diff --git a/lang/gcc42/Makefile b/lang/gcc42/Makefile index 39bd266c5987..aebd9611b1eb 100644 --- a/lang/gcc42/Makefile +++ b/lang/gcc42/Makefile @@ -19,7 +19,6 @@ MAINTAINER= obrien@FreeBSD.org EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} -GNUHOST= i386-unknown-freebsd GNU_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \ @@ -68,3 +67,9 @@ post-install: .endfor .include + +.if (${PORTOBJFORMAT} == "elf") +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif diff --git a/lang/gcc43/Makefile b/lang/gcc43/Makefile index 39bd266c5987..aebd9611b1eb 100644 --- a/lang/gcc43/Makefile +++ b/lang/gcc43/Makefile @@ -19,7 +19,6 @@ MAINTAINER= obrien@FreeBSD.org EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} -GNUHOST= i386-unknown-freebsd GNU_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \ @@ -68,3 +67,9 @@ post-install: .endfor .include + +.if (${PORTOBJFORMAT} == "elf") +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif diff --git a/lang/gcc44/Makefile b/lang/gcc44/Makefile index 39bd266c5987..aebd9611b1eb 100644 --- a/lang/gcc44/Makefile +++ b/lang/gcc44/Makefile @@ -19,7 +19,6 @@ MAINTAINER= obrien@FreeBSD.org EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} -GNUHOST= i386-unknown-freebsd GNU_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \ @@ -68,3 +67,9 @@ post-install: .endfor .include + +.if (${PORTOBJFORMAT} == "elf") +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif diff --git a/lang/gcc45/Makefile b/lang/gcc45/Makefile index 39bd266c5987..aebd9611b1eb 100644 --- a/lang/gcc45/Makefile +++ b/lang/gcc45/Makefile @@ -19,7 +19,6 @@ MAINTAINER= obrien@FreeBSD.org EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} -GNUHOST= i386-unknown-freebsd GNU_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \ @@ -68,3 +67,9 @@ post-install: .endfor .include + +.if (${PORTOBJFORMAT} == "elf") +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif diff --git a/lang/gcc46/Makefile b/lang/gcc46/Makefile index 39bd266c5987..aebd9611b1eb 100644 --- a/lang/gcc46/Makefile +++ b/lang/gcc46/Makefile @@ -19,7 +19,6 @@ MAINTAINER= obrien@FreeBSD.org EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} -GNUHOST= i386-unknown-freebsd GNU_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \ @@ -68,3 +67,9 @@ post-install: .endfor .include + +.if (${PORTOBJFORMAT} == "elf") +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile index 39bd266c5987..aebd9611b1eb 100644 --- a/lang/gcc47/Makefile +++ b/lang/gcc47/Makefile @@ -19,7 +19,6 @@ MAINTAINER= obrien@FreeBSD.org EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} -GNUHOST= i386-unknown-freebsd GNU_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \ @@ -68,3 +67,9 @@ post-install: .endfor .include + +.if (${PORTOBJFORMAT} == "elf") +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile index 39bd266c5987..aebd9611b1eb 100644 --- a/lang/gcc48/Makefile +++ b/lang/gcc48/Makefile @@ -19,7 +19,6 @@ MAINTAINER= obrien@FreeBSD.org EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} -GNUHOST= i386-unknown-freebsd GNU_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \ @@ -68,3 +67,9 @@ post-install: .endfor .include + +.if (${PORTOBJFORMAT} == "elf") +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif