mk/blas.bl3: move BUILD_DEFS and BUILD_DEFS_EFFECTS inside the inclusion guard
authorDr. Thomas Orgis <thomas.orgis@uni-hamburg.de>
Wed, 31 Jul 2019 09:03:00 +0000 (11:03 +0200)
committerDr. Thomas Orgis <thomas.orgis@uni-hamburg.de>
Wed, 31 Jul 2019 09:03:00 +0000 (11:03 +0200)
mk/blas.buildlink3.mk

index af3149be14943ac59d1708114e3dc6b2c49b6495..82fea41fcba468d1e00c9a32bcbb0567d91ec98c 100644 (file)
 # 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"