pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-homeassistant: Use gfortran.mk
Module Name: pkgsrc-wip
Committed By: Greg Troxel <gdt%lexort.com@localhost>
Pushed By: gdt
Date: Sun Oct 1 20:40:11 2023 -0400
Changeset: 6601676e19794e6a9e1b88ddadcd27629463193d
Modified Files:
py-homeassistant/Makefile
Log Message:
py-homeassistant: Use gfortran.mk
Rather than opencoding a depends, use the gfortran mk fragment.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6601676e19794e6a9e1b88ddadcd27629463193d
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-homeassistant/Makefile | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diffs:
diff --git a/py-homeassistant/Makefile b/py-homeassistant/Makefile
index b80d264ea3..c59340fcba 100644
--- a/py-homeassistant/Makefile
+++ b/py-homeassistant/Makefile
@@ -57,14 +57,8 @@ RUST_RUNTIME= yes # record a dependency
.include "../../lang/rust/rust.mk"
# FORTRAN: choose the version that matches the base compiler.
-.if ${OPSYS} == "NetBSD" && empty(OS_VERSION:M[0-9].*)
-FORTRAN_VERSION=10
-.else
-FORTRAN_VERSION=7
-.endif
-BUILDLINK_DEPMETHOD.gcc${FORTRAN_VERSION}= full
-.include "../../lang/gcc${FORTRAN_VERSION}/buildlink3.mk"
-
+USE_LANGUAGES+= fortran77
+.include "../../mk/compiler/gfortran.mk"
## LIBRARIES needed to build modules that must be installed before HA runs
Home |
Main Index |
Thread Index |
Old Index