From 99c0567ad2d7ee800133786ca860dac8c4a01c7b Mon Sep 17 00:00:00 2001 From: obrien Date: Thu, 1 Oct 1998 21:40:03 +0000 Subject: Allow building and packaging for ELF. --- lang/gcc33/Makefile | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'lang/gcc33/Makefile') 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 - -.if (${PORTOBJFORMAT} == "elf") -GNUHOST= i386-unknown-freebsdelf -.else -GNUHOST= i386-unknown-freebsd -.endif -- cgit