pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/g95 Make sure that the gcc used for building g95 ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6c59394c3711
branches: trunk
changeset: 601380:6c59394c3711
user: hans <hans%pkgsrc.org@localhost>
date: Tue Mar 20 17:26:19 2012 +0000
description:
Make sure that the gcc used for building g95 knows which ld/as/objdump
to use on SunOS (same as in lang/gcc46). Add PLIST.SunOS.
diffstat:
lang/g95/Makefile | 13 ++++++++++++-
lang/g95/PLIST.SunOS | 4 ++++
2 files changed, 16 insertions(+), 1 deletions(-)
diffs (35 lines):
diff -r 6f3b4de8e072 -r 6c59394c3711 lang/g95/Makefile
--- a/lang/g95/Makefile Tue Mar 20 17:10:56 2012 +0000
+++ b/lang/g95/Makefile Tue Mar 20 17:26:19 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2011/01/23 09:42:10 markd Exp $
+# $NetBSD: Makefile,v 1.9 2012/03/20 17:26:19 hans Exp $
DISTNAME= g95_source
VERSION= 0.92
@@ -28,6 +28,17 @@
GCC_CONFIGURE_ARGS= ${CONFIGURE_ARGS}
GCC_CONFIGURE_ARGS+= --enable-languages=c
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "SunOS"
+GCC_CONFIGURE_ENV+= OBJDUMP=/usr/sfw/bin/gobjdump
+GCC_CONFIGURE_ARGS+= --without-gnu-ld --with-ld=/usr/ccs/bin/ld
+. if !exists(/usr/sfw/bin/gas)
+GCC_CONFIGURE_ARGS+= --without-gnu-as --with-as=/usr/ccs/bin/as
+. else
+GCC_CONFIGURE_ARGS+= --with-gnu-as --with-as=/usr/sfw/bin/gas
+. endif
+.endif
+
CONFIGURE_ARGS+= --with-gcc-dir=${GCC_DIR}
post-extract:
diff -r 6f3b4de8e072 -r 6c59394c3711 lang/g95/PLIST.SunOS
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/g95/PLIST.SunOS Tue Mar 20 17:26:19 2012 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST.SunOS,v 1.1 2012/03/20 17:26:19 hans Exp $
+lib/gcc-lib/${MACHINE_GNU_PLATFORM}/4.0.3/crtbegin.o
+lib/gcc-lib/${MACHINE_GNU_PLATFORM}/4.0.3/crtend.o
+lib/gcc-lib/${MACHINE_GNU_PLATFORM}/4.0.3/gmon.o
Home |
Main Index |
Thread Index |
Old Index