diff options
author | hans <hans> | 2012-03-20 17:26:19 +0000 |
---|---|---|
committer | hans <hans> | 2012-03-20 17:26:19 +0000 |
commit | 32d65495cdfdc2e5b669353dc9e0157892b86aa4 (patch) | |
tree | cbda15ae0a15c8e1fa6b031498e429545c8f343a /lang | |
parent | fa258cc321da416f6ba134297ae316125877d2b5 (diff) | |
download | pkgsrc-32d65495cdfdc2e5b669353dc9e0157892b86aa4.tar.gz |
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 (limited to 'lang')
-rw-r--r-- | lang/g95/Makefile | 13 | ||||
-rw-r--r-- | lang/g95/PLIST.SunOS | 4 |
2 files changed, 16 insertions, 1 deletions
diff --git a/lang/g95/Makefile b/lang/g95/Makefile index 413ed9eadb9..8124b969d9d 100644 --- a/lang/g95/Makefile +++ b/lang/g95/Makefile @@ -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_SCRIPT= ../configure 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 --git a/lang/g95/PLIST.SunOS b/lang/g95/PLIST.SunOS new file mode 100644 index 00000000000..0d143879f9c --- /dev/null +++ b/lang/g95/PLIST.SunOS @@ -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 |