diff options
-rw-r--r-- | lang/egcs/Makefile | 14 | ||||
-rw-r--r-- | lang/gcc-devel/Makefile | 14 | ||||
-rw-r--r-- | lang/gcc-ooo/Makefile | 14 | ||||
-rw-r--r-- | lang/gcc/Makefile | 14 | ||||
-rw-r--r-- | lang/gcc295/Makefile | 14 | ||||
-rw-r--r-- | lang/gcc30/Makefile | 14 | ||||
-rw-r--r-- | lang/gcc31/Makefile | 14 | ||||
-rw-r--r-- | lang/gcc32/Makefile | 14 | ||||
-rw-r--r-- | lang/gcc33/Makefile | 14 | ||||
-rw-r--r-- | lang/gcc34/Makefile | 14 | ||||
-rw-r--r-- | lang/gcc35/Makefile | 14 | ||||
-rw-r--r-- | lang/gcc40/Makefile | 14 | ||||
-rw-r--r-- | lang/gcc41/Makefile | 14 | ||||
-rw-r--r-- | lang/gcc42/Makefile | 14 | ||||
-rw-r--r-- | lang/gcc43/Makefile | 14 | ||||
-rw-r--r-- | lang/gcc44/Makefile | 14 | ||||
-rw-r--r-- | lang/gcc45/Makefile | 14 | ||||
-rw-r--r-- | lang/gcc46/Makefile | 14 | ||||
-rw-r--r-- | lang/gcc47/Makefile | 14 | ||||
-rw-r--r-- | lang/gcc48/Makefile | 14 |
20 files changed, 120 insertions, 160 deletions
diff --git a/lang/egcs/Makefile b/lang/egcs/Makefile index 042403edbbeb..1803f0d19ef9 100644 --- a/lang/egcs/Makefile +++ b/lang/egcs/Makefile @@ -16,10 +16,14 @@ MASTER_SITES= ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-09-14/ \ MAINTAINER= obrien@FreeBSD.org -BROKEN= package - EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 +ARE_WE_ELF!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout +.if ${ARE_WE_ELF} == "elf" +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} GNU_CONFIGURE= yes USE_GMAKE= yes @@ -69,9 +73,3 @@ post-install: .endfor .include <bsd.port.mk> - -.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 042403edbbeb..1803f0d19ef9 100644 --- a/lang/gcc-devel/Makefile +++ b/lang/gcc-devel/Makefile @@ -16,10 +16,14 @@ MASTER_SITES= ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-09-14/ \ MAINTAINER= obrien@FreeBSD.org -BROKEN= package - EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 +ARE_WE_ELF!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout +.if ${ARE_WE_ELF} == "elf" +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} GNU_CONFIGURE= yes USE_GMAKE= yes @@ -69,9 +73,3 @@ post-install: .endfor .include <bsd.port.mk> - -.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 042403edbbeb..1803f0d19ef9 100644 --- a/lang/gcc-ooo/Makefile +++ b/lang/gcc-ooo/Makefile @@ -16,10 +16,14 @@ MASTER_SITES= ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-09-14/ \ MAINTAINER= obrien@FreeBSD.org -BROKEN= package - EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 +ARE_WE_ELF!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout +.if ${ARE_WE_ELF} == "elf" +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} GNU_CONFIGURE= yes USE_GMAKE= yes @@ -69,9 +73,3 @@ post-install: .endfor .include <bsd.port.mk> - -.if (${PORTOBJFORMAT} == "elf") -GNUHOST= i386-unknown-freebsdelf -.else -GNUHOST= i386-unknown-freebsd -.endif diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile index 042403edbbeb..1803f0d19ef9 100644 --- a/lang/gcc/Makefile +++ b/lang/gcc/Makefile @@ -16,10 +16,14 @@ MASTER_SITES= ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-09-14/ \ MAINTAINER= obrien@FreeBSD.org -BROKEN= package - EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 +ARE_WE_ELF!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout +.if ${ARE_WE_ELF} == "elf" +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} GNU_CONFIGURE= yes USE_GMAKE= yes @@ -69,9 +73,3 @@ post-install: .endfor .include <bsd.port.mk> - -.if (${PORTOBJFORMAT} == "elf") -GNUHOST= i386-unknown-freebsdelf -.else -GNUHOST= i386-unknown-freebsd -.endif diff --git a/lang/gcc295/Makefile b/lang/gcc295/Makefile index 042403edbbeb..1803f0d19ef9 100644 --- a/lang/gcc295/Makefile +++ b/lang/gcc295/Makefile @@ -16,10 +16,14 @@ MASTER_SITES= ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-09-14/ \ MAINTAINER= obrien@FreeBSD.org -BROKEN= package - EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 +ARE_WE_ELF!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout +.if ${ARE_WE_ELF} == "elf" +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} GNU_CONFIGURE= yes USE_GMAKE= yes @@ -69,9 +73,3 @@ post-install: .endfor .include <bsd.port.mk> - -.if (${PORTOBJFORMAT} == "elf") -GNUHOST= i386-unknown-freebsdelf -.else -GNUHOST= i386-unknown-freebsd -.endif diff --git a/lang/gcc30/Makefile b/lang/gcc30/Makefile index 042403edbbeb..1803f0d19ef9 100644 --- a/lang/gcc30/Makefile +++ b/lang/gcc30/Makefile @@ -16,10 +16,14 @@ MASTER_SITES= ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-09-14/ \ MAINTAINER= obrien@FreeBSD.org -BROKEN= package - EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 +ARE_WE_ELF!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout +.if ${ARE_WE_ELF} == "elf" +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} GNU_CONFIGURE= yes USE_GMAKE= yes @@ -69,9 +73,3 @@ post-install: .endfor .include <bsd.port.mk> - -.if (${PORTOBJFORMAT} == "elf") -GNUHOST= i386-unknown-freebsdelf -.else -GNUHOST= i386-unknown-freebsd -.endif diff --git a/lang/gcc31/Makefile b/lang/gcc31/Makefile index 042403edbbeb..1803f0d19ef9 100644 --- a/lang/gcc31/Makefile +++ b/lang/gcc31/Makefile @@ -16,10 +16,14 @@ MASTER_SITES= ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-09-14/ \ MAINTAINER= obrien@FreeBSD.org -BROKEN= package - EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 +ARE_WE_ELF!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout +.if ${ARE_WE_ELF} == "elf" +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} GNU_CONFIGURE= yes USE_GMAKE= yes @@ -69,9 +73,3 @@ post-install: .endfor .include <bsd.port.mk> - -.if (${PORTOBJFORMAT} == "elf") -GNUHOST= i386-unknown-freebsdelf -.else -GNUHOST= i386-unknown-freebsd -.endif diff --git a/lang/gcc32/Makefile b/lang/gcc32/Makefile index 042403edbbeb..1803f0d19ef9 100644 --- a/lang/gcc32/Makefile +++ b/lang/gcc32/Makefile @@ -16,10 +16,14 @@ MASTER_SITES= ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-09-14/ \ MAINTAINER= obrien@FreeBSD.org -BROKEN= package - EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 +ARE_WE_ELF!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout +.if ${ARE_WE_ELF} == "elf" +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} GNU_CONFIGURE= yes USE_GMAKE= yes @@ -69,9 +73,3 @@ post-install: .endfor .include <bsd.port.mk> - -.if (${PORTOBJFORMAT} == "elf") -GNUHOST= i386-unknown-freebsdelf -.else -GNUHOST= i386-unknown-freebsd -.endif diff --git a/lang/gcc33/Makefile b/lang/gcc33/Makefile index 042403edbbeb..1803f0d19ef9 100644 --- a/lang/gcc33/Makefile +++ b/lang/gcc33/Makefile @@ -16,10 +16,14 @@ MASTER_SITES= ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-09-14/ \ MAINTAINER= obrien@FreeBSD.org -BROKEN= package - EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 +ARE_WE_ELF!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout +.if ${ARE_WE_ELF} == "elf" +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} GNU_CONFIGURE= yes USE_GMAKE= yes @@ -69,9 +73,3 @@ post-install: .endfor .include <bsd.port.mk> - -.if (${PORTOBJFORMAT} == "elf") -GNUHOST= i386-unknown-freebsdelf -.else -GNUHOST= i386-unknown-freebsd -.endif diff --git a/lang/gcc34/Makefile b/lang/gcc34/Makefile index 042403edbbeb..1803f0d19ef9 100644 --- a/lang/gcc34/Makefile +++ b/lang/gcc34/Makefile @@ -16,10 +16,14 @@ MASTER_SITES= ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-09-14/ \ MAINTAINER= obrien@FreeBSD.org -BROKEN= package - EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 +ARE_WE_ELF!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout +.if ${ARE_WE_ELF} == "elf" +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} GNU_CONFIGURE= yes USE_GMAKE= yes @@ -69,9 +73,3 @@ post-install: .endfor .include <bsd.port.mk> - -.if (${PORTOBJFORMAT} == "elf") -GNUHOST= i386-unknown-freebsdelf -.else -GNUHOST= i386-unknown-freebsd -.endif diff --git a/lang/gcc35/Makefile b/lang/gcc35/Makefile index 042403edbbeb..1803f0d19ef9 100644 --- a/lang/gcc35/Makefile +++ b/lang/gcc35/Makefile @@ -16,10 +16,14 @@ MASTER_SITES= ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-09-14/ \ MAINTAINER= obrien@FreeBSD.org -BROKEN= package - EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 +ARE_WE_ELF!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout +.if ${ARE_WE_ELF} == "elf" +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} GNU_CONFIGURE= yes USE_GMAKE= yes @@ -69,9 +73,3 @@ post-install: .endfor .include <bsd.port.mk> - -.if (${PORTOBJFORMAT} == "elf") -GNUHOST= i386-unknown-freebsdelf -.else -GNUHOST= i386-unknown-freebsd -.endif diff --git a/lang/gcc40/Makefile b/lang/gcc40/Makefile index 042403edbbeb..1803f0d19ef9 100644 --- a/lang/gcc40/Makefile +++ b/lang/gcc40/Makefile @@ -16,10 +16,14 @@ MASTER_SITES= ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-09-14/ \ MAINTAINER= obrien@FreeBSD.org -BROKEN= package - EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 +ARE_WE_ELF!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout +.if ${ARE_WE_ELF} == "elf" +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} GNU_CONFIGURE= yes USE_GMAKE= yes @@ -69,9 +73,3 @@ post-install: .endfor .include <bsd.port.mk> - -.if (${PORTOBJFORMAT} == "elf") -GNUHOST= i386-unknown-freebsdelf -.else -GNUHOST= i386-unknown-freebsd -.endif diff --git a/lang/gcc41/Makefile b/lang/gcc41/Makefile index 042403edbbeb..1803f0d19ef9 100644 --- a/lang/gcc41/Makefile +++ b/lang/gcc41/Makefile @@ -16,10 +16,14 @@ MASTER_SITES= ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-09-14/ \ MAINTAINER= obrien@FreeBSD.org -BROKEN= package - EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 +ARE_WE_ELF!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout +.if ${ARE_WE_ELF} == "elf" +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} GNU_CONFIGURE= yes USE_GMAKE= yes @@ -69,9 +73,3 @@ post-install: .endfor .include <bsd.port.mk> - -.if (${PORTOBJFORMAT} == "elf") -GNUHOST= i386-unknown-freebsdelf -.else -GNUHOST= i386-unknown-freebsd -.endif diff --git a/lang/gcc42/Makefile b/lang/gcc42/Makefile index 042403edbbeb..1803f0d19ef9 100644 --- a/lang/gcc42/Makefile +++ b/lang/gcc42/Makefile @@ -16,10 +16,14 @@ MASTER_SITES= ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-09-14/ \ MAINTAINER= obrien@FreeBSD.org -BROKEN= package - EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 +ARE_WE_ELF!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout +.if ${ARE_WE_ELF} == "elf" +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} GNU_CONFIGURE= yes USE_GMAKE= yes @@ -69,9 +73,3 @@ post-install: .endfor .include <bsd.port.mk> - -.if (${PORTOBJFORMAT} == "elf") -GNUHOST= i386-unknown-freebsdelf -.else -GNUHOST= i386-unknown-freebsd -.endif diff --git a/lang/gcc43/Makefile b/lang/gcc43/Makefile index 042403edbbeb..1803f0d19ef9 100644 --- a/lang/gcc43/Makefile +++ b/lang/gcc43/Makefile @@ -16,10 +16,14 @@ MASTER_SITES= ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-09-14/ \ MAINTAINER= obrien@FreeBSD.org -BROKEN= package - EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 +ARE_WE_ELF!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout +.if ${ARE_WE_ELF} == "elf" +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} GNU_CONFIGURE= yes USE_GMAKE= yes @@ -69,9 +73,3 @@ post-install: .endfor .include <bsd.port.mk> - -.if (${PORTOBJFORMAT} == "elf") -GNUHOST= i386-unknown-freebsdelf -.else -GNUHOST= i386-unknown-freebsd -.endif diff --git a/lang/gcc44/Makefile b/lang/gcc44/Makefile index 042403edbbeb..1803f0d19ef9 100644 --- a/lang/gcc44/Makefile +++ b/lang/gcc44/Makefile @@ -16,10 +16,14 @@ MASTER_SITES= ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-09-14/ \ MAINTAINER= obrien@FreeBSD.org -BROKEN= package - EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 +ARE_WE_ELF!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout +.if ${ARE_WE_ELF} == "elf" +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} GNU_CONFIGURE= yes USE_GMAKE= yes @@ -69,9 +73,3 @@ post-install: .endfor .include <bsd.port.mk> - -.if (${PORTOBJFORMAT} == "elf") -GNUHOST= i386-unknown-freebsdelf -.else -GNUHOST= i386-unknown-freebsd -.endif diff --git a/lang/gcc45/Makefile b/lang/gcc45/Makefile index 042403edbbeb..1803f0d19ef9 100644 --- a/lang/gcc45/Makefile +++ b/lang/gcc45/Makefile @@ -16,10 +16,14 @@ MASTER_SITES= ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-09-14/ \ MAINTAINER= obrien@FreeBSD.org -BROKEN= package - EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 +ARE_WE_ELF!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout +.if ${ARE_WE_ELF} == "elf" +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} GNU_CONFIGURE= yes USE_GMAKE= yes @@ -69,9 +73,3 @@ post-install: .endfor .include <bsd.port.mk> - -.if (${PORTOBJFORMAT} == "elf") -GNUHOST= i386-unknown-freebsdelf -.else -GNUHOST= i386-unknown-freebsd -.endif diff --git a/lang/gcc46/Makefile b/lang/gcc46/Makefile index 042403edbbeb..1803f0d19ef9 100644 --- a/lang/gcc46/Makefile +++ b/lang/gcc46/Makefile @@ -16,10 +16,14 @@ MASTER_SITES= ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-09-14/ \ MAINTAINER= obrien@FreeBSD.org -BROKEN= package - EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 +ARE_WE_ELF!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout +.if ${ARE_WE_ELF} == "elf" +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} GNU_CONFIGURE= yes USE_GMAKE= yes @@ -69,9 +73,3 @@ post-install: .endfor .include <bsd.port.mk> - -.if (${PORTOBJFORMAT} == "elf") -GNUHOST= i386-unknown-freebsdelf -.else -GNUHOST= i386-unknown-freebsd -.endif diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile index 042403edbbeb..1803f0d19ef9 100644 --- a/lang/gcc47/Makefile +++ b/lang/gcc47/Makefile @@ -16,10 +16,14 @@ MASTER_SITES= ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-09-14/ \ MAINTAINER= obrien@FreeBSD.org -BROKEN= package - EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 +ARE_WE_ELF!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout +.if ${ARE_WE_ELF} == "elf" +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} GNU_CONFIGURE= yes USE_GMAKE= yes @@ -69,9 +73,3 @@ post-install: .endfor .include <bsd.port.mk> - -.if (${PORTOBJFORMAT} == "elf") -GNUHOST= i386-unknown-freebsdelf -.else -GNUHOST= i386-unknown-freebsd -.endif diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile index 042403edbbeb..1803f0d19ef9 100644 --- a/lang/gcc48/Makefile +++ b/lang/gcc48/Makefile @@ -16,10 +16,14 @@ MASTER_SITES= ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-09-14/ \ MAINTAINER= obrien@FreeBSD.org -BROKEN= package - EGCS_REV= egcs-2.92.07 LIBSTDCPP_REV= 2.9.0 +ARE_WE_ELF!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout +.if ${ARE_WE_ELF} == "elf" +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST} GNU_CONFIGURE= yes USE_GMAKE= yes @@ -69,9 +73,3 @@ post-install: .endfor .include <bsd.port.mk> - -.if (${PORTOBJFORMAT} == "elf") -GNUHOST= i386-unknown-freebsdelf -.else -GNUHOST= i386-unknown-freebsd -.endif |