Skip to content

Commit

Permalink
math/armadillo: Use USES=pathfix
Browse files Browse the repository at this point in the history
The original pkgconfig hack has been split into CMAKE_ARGS and CMakeLists.txt patch.
  • Loading branch information
sunpoet committed Feb 21, 2024
1 parent e1b8629 commit 09f3400
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
5 changes: 2 additions & 3 deletions math/armadillo/Makefile
@@ -1,5 +1,5 @@
PORTNAME= armadillo
DISTVERSION= 12.6.7
PORTVERSION= 12.6.7
PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= SF/arma
Expand All @@ -15,10 +15,9 @@ LIB_DEPENDS= libarpack.so:math/arpack-ng \
liblapack.so:math/lapack \
libsuperlu.so:math/superlu

USES= blaslapack:openblas cmake:testing compiler:c++11-lang pkgconfig tar:xz
USES= blaslapack:openblas cmake:testing compiler:c++11-lang pathfix pkgconfig tar:xz
USE_LDCONFIG= yes

CMAKE_ARGS+= -DPKG_CONFIG_DIR=${LOCALBASE}/libdata/pkgconfig/
CMAKE_OFF= BUILD_SMOKE_TEST
CMAKE_TESTING_ON= BUILD_SMOKE_TEST

Expand Down
8 changes: 0 additions & 8 deletions math/armadillo/files/patch-CMakeLists.txt

This file was deleted.

0 comments on commit 09f3400

Please sign in to comment.