pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/cross/avr-gcc



Module Name:    pkgsrc
Committed By:   micha
Date:           Wed Sep  8 12:08:21 UTC 2021

Added Files:
        pkgsrc/cross/avr-gcc: options.mk

Log Message:
cross/avr-gcc: Add options.mk


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/cross/avr-gcc/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/cross/avr-gcc/options.mk
diff -u /dev/null pkgsrc/cross/avr-gcc/options.mk:1.1
--- /dev/null   Wed Sep  8 12:08:21 2021
+++ pkgsrc/cross/avr-gcc/options.mk     Wed Sep  8 12:08:21 2021
@@ -0,0 +1,24 @@
+# $NetBSD: options.mk,v 1.1 2021/09/08 12:08:21 micha Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.avr-gcc
+PKG_SUPPORTED_OPTIONS= gcc-inplace-math
+PKG_SUGGESTED_OPTIONS=
+
+.include "../../mk/bsd.options.mk"
+
+# gcc-inplace-math: Build math libraries in place
+.if !empty(PKG_OPTIONS:Mgcc-inplace-math)
+.  include "../../devel/gmp/inplace.mk"
+.  include "../../math/isl/inplace.mk"
+.  include "../../math/mpcomplex/inplace.mk"
+.  include "../../math/mpfr/inplace.mk"
+.else
+CONFIGURE_ARGS+=       --with-gmp=${BUILDLINK_PREFIX.gmp}
+CONFIGURE_ARGS+=       --with-isl=${BUILDLINK_PREFIX.isl}
+CONFIGURE_ARGS+=       --with-mpc=${BUILDLINK_PREFIX.mpcomplex}
+CONFIGURE_ARGS+=       --with-mpfr=${BUILDLINK_PREFIX.mpfr}
+.  include "../../devel/gmp/buildlink3.mk"
+.  include "../../math/isl/buildlink3.mk"
+.  include "../../math/mpcomplex/buildlink3.mk"
+.  include "../../math/mpfr/buildlink3.mk"
+.endif



Home | Main Index | Thread Index | Old Index