databases/grass7: check for omp.h on all architectures
This commit is contained in:
@@ -131,6 +131,10 @@ SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_F
|
||||
ZSTD_CONFIGURE_WITH= zstd
|
||||
ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd
|
||||
|
||||
.if exists(/usr/include/omp.h)
|
||||
CONFIGURE_ARGS+= --with-openmp
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "i386"
|
||||
@@ -140,10 +144,6 @@ PLIST_SUB+= NOTONI386="@comment "
|
||||
PLIST_SUB+= NOTONI386=""
|
||||
.endif
|
||||
|
||||
.if ${ARCH} != powerpc
|
||||
CONFIGURE_ARGS+= --with-openmp
|
||||
.endif
|
||||
|
||||
.if !defined (GRASS_INST_DIR)
|
||||
GRASS_INST_DIR= ${PORTNAME}${VER}
|
||||
.endif
|
||||
|
||||
Reference in New Issue
Block a user