diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1998-10-01 21:40:03 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1998-10-01 21:40:03 +0000 |
commit | 7ad180cedffb2015e9396593854514efa800ef1c (patch) | |
tree | 6ce47319b58849f8a4f4d7a4e506565781940a62 /lang/gcc-ooo | |
parent | Reference ${PREFIX}/share/doc/mutt/ in the manpage (though only if we (diff) |
Allow building and packaging for ELF.
Notes
Notes:
svn path=/head/; revision=13586
Diffstat (limited to 'lang/gcc-ooo')
-rw-r--r-- | lang/gcc-ooo/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
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 |