pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/R-classInt
Module Name: pkgsrc
Committed By: mef
Date: Sun Jun 6 11:31:17 UTC 2021
Modified Files:
pkgsrc/math/R-classInt: Makefile
Log Message:
(math/R-classInt) Add compiler.mk buildlink
Without this change, I have following error with 9.99.82 host (amd64) which
has gcc-10. And buildlink for libgfortran was only made for gcc-10 side.
Adding this line makes both gcc-7 and gcc-10 buildlinked.
The error I had was: ( the line folded)
** libs
----------
gcc -shared -Wl,-R/usr/pkg/lib/R/lib -L/usr/pkg/lib/R/lib
-L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -pthrea d
-L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -o classInt.so fish1.o init.o
-L/usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.5.0 -L/usr/pkg/gcc7/lib
-Wl,-R/usr/pkg/gcc7/x86_64--netbsd/lib/. -Wl,-R/usr/pkg/gcc7/lib/. -lgfortran
-lm -lquadmath -lpthread -Wl,-R/usr/pkg/lib/R/lib -L/usr/pkg/lib/R/lib
-lR
ld: cannot find -lgfortran
ld: cannot find -lquadmath
*** Error code 1
----------
Please correct me if my understanding (or correction) is wrong, sorry and tks
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/math/R-classInt/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/math/R-classInt/Makefile
diff -u pkgsrc/math/R-classInt/Makefile:1.12 pkgsrc/math/R-classInt/Makefile:1.13
--- pkgsrc/math/R-classInt/Makefile:1.12 Sun Jan 3 12:52:04 2021
+++ pkgsrc/math/R-classInt/Makefile Sun Jun 6 11:31:17 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2021/01/03 12:52:04 mef Exp $
+# $NetBSD: Makefile,v 1.13 2021/06/06 11:31:17 mef Exp $
R_PKGNAME= classInt
R_PKGVER= 0.4-3
@@ -15,4 +15,5 @@ TEST_DEPENDS+= R-units-[0-9]*:../../math
USE_LANGUAGES= c fortran
.include "../../math/R/Makefile.extension"
+.include "../../mk/compiler/gfortran.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index