--- Makefile (revision 533880) +++ Makefile (working copy) @@ -13,6 +13,13 @@ BUILD_DEPENDS= bash:shells/bash +USES= compiler gmake perl5 python shebangfix +USE_GITHUB= yes +GH_ACCOUNT= flame +USE_LDCONFIG= yes +USE_PERL5= build +SHEBANG_FILES= build/flatten-headers.py + OPTIONS_DEFINE= PARA CBLAS PARA_DESC= use pthread parallelization CBLAS_DESC= build the CBLAS compatibility layer @@ -19,15 +26,10 @@ OPTIONS_DEFAULT= PARA CBLAS OPTIONS_SUB= yes -USE_GITHUB= yes -GH_ACCOUNT= flame +HAS_CONFIGURE= yes -USES= compiler gmake python shebangfix -USE_LDCONFIG= yes -SHEBANG_FILES= build/flatten-headers.py +TEST_TARGET= test -HAS_CONFIGURE= yes - .include # enable BLAS and static/shared libs by default @@ -46,11 +48,13 @@ .endif .if ${ARCH} == amd64 -LIBNAME= x86_64 CONFIGURE_ARGS+= x86_64 PLIST_SUB+= ARCH="x86_64" +.elif ${ARCH} == powerpc64 +CONFIGURE_ARGS+= power9 +PLIST_SUB+= ARCH="power9" +USE_GCC= yes .else -LIBNAME= generic CONFIGURE_ARGS+= generic PLIST_SUB+= ARCH="generic" .endif