summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-09-27 01:56:14 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-09-27 01:56:14 +0000
commit1beb04227cb8428c2a59e33027788a72ef1a1ffa (patch)
tree610a976e14d2d91810d2e08ff82c1326f9ed9598 /lang
parentDon't strip the binary when building ELF, and remove the empty (diff)
Build properly on ELF systems.
Notes
Notes: svn path=/head/; revision=13434
Diffstat (limited to 'lang')
-rw-r--r--lang/egcs/Makefile7
-rw-r--r--lang/gcc-devel/Makefile7
-rw-r--r--lang/gcc-ooo/Makefile7
-rw-r--r--lang/gcc/Makefile7
-rw-r--r--lang/gcc295/Makefile7
-rw-r--r--lang/gcc30/Makefile7
-rw-r--r--lang/gcc31/Makefile7
-rw-r--r--lang/gcc32/Makefile7
-rw-r--r--lang/gcc33/Makefile7
-rw-r--r--lang/gcc34/Makefile7
-rw-r--r--lang/gcc35/Makefile7
-rw-r--r--lang/gcc40/Makefile7
-rw-r--r--lang/gcc41/Makefile7
-rw-r--r--lang/gcc42/Makefile7
-rw-r--r--lang/gcc43/Makefile7
-rw-r--r--lang/gcc44/Makefile7
-rw-r--r--lang/gcc45/Makefile7
-rw-r--r--lang/gcc46/Makefile7
-rw-r--r--lang/gcc47/Makefile7
-rw-r--r--lang/gcc48/Makefile7
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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <bsd.port.mk>
+
+.if (${PORTOBJFORMAT} == "elf")
+GNUHOST= i386-unknown-freebsdelf
+.else
+GNUHOST= i386-unknown-freebsd
+.endif