pkgsrc-WIP-changes archive

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

mk/blas.bl3: move BUILD_DEFS and BUILD_DEFS_EFFECTS inside the inclusion guard



Module Name:	pkgsrc-wip
Committed By:	Dr. Thomas Orgis <thomas.orgis%uni-hamburg.de@localhost>
Pushed By:	thor
Date:		Wed Jul 31 11:03:00 2019 +0200
Changeset:	8a5efb54caa2691e7633c4061b1c0e708b84856c

Modified Files:
	mk/blas.buildlink3.mk

Log Message:
mk/blas.bl3: move BUILD_DEFS and BUILD_DEFS_EFFECTS inside the inclusion guard

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8a5efb54caa2691e7633c4061b1c0e708b84856c

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

diffstat:
 mk/blas.buildlink3.mk | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diffs:
diff --git a/mk/blas.buildlink3.mk b/mk/blas.buildlink3.mk
index af3149be14..82fea41fcb 100644
--- a/mk/blas.buildlink3.mk
+++ b/mk/blas.buildlink3.mk
@@ -47,13 +47,12 @@
 # LAPACK_LIBS
 #   Linker flags used for linking to LAPACK library
 
-# TODO: Why are these set outside .if !defined(BLAS_BUILDLINK3_MK)?
-BUILD_DEFS+=		PKGSRC_BLAS_TYPES
-BUILD_DEFS_EFFECTS+=	BLAS_TYPE BLAS_LIBS LAPACK_LIBS
-
 .if !defined(BLAS_BUILDLINK3_MK)
 BLAS_BUILDLINK3_MK=
 
+BUILD_DEFS+=		PKGSRC_BLAS_TYPES
+BUILD_DEFS_EFFECTS+=	BLAS_TYPE BLAS_LIBS LAPACK_LIBS
+
 # TODO: Upon commit change to: .include "bsd.prefs.mk"
 .include "../../mk/bsd.prefs.mk"
 


Home | Main Index | Thread Index | Old Index