git: 391b9fd14483 - main - math/openblas: Fix PLIST when INTERFACE64 option is enabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Dec 2023 16:17:23 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=391b9fd144831507cc4b01b063e1ab9972cce0fd
commit 391b9fd144831507cc4b01b063e1ab9972cce0fd
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-12-25 16:04:17 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-12-25 16:11:03 +0000
math/openblas: Fix PLIST when INTERFACE64 option is enabled
from Makefile.install:
165 #Generating openblas.pc
166 ifeq ($(INTERFACE64),1)
167 SUFFIX64=64
168 endif
169 PKGFILE="$(DESTDIR)$(OPENBLAS_PKGCONFIG_DIR)/$(LIBSONAMEBASE)$(SUFFIX64).pc"
...
178 @cat openblas.pc.in >> "$(PKGFILE)"
PR: 275802
Submitted by: Sergey V. Koupreyenko <sergey.koupreyenko@gmail.com>
Approved by: Eijiro Shibusawa <phd_kimberlite@yahoo.co.jp> (maintainer)
---
math/openblas/pkg-plist | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/math/openblas/pkg-plist b/math/openblas/pkg-plist
index 3a2f49b1d9c1..66ad1a092738 100644
--- a/math/openblas/pkg-plist
+++ b/math/openblas/pkg-plist
@@ -13,4 +13,5 @@ lib/libopenblas.so
lib/libopenblas.so.0
%%DYNAMIC_ARCH%%lib/libopenblasp-r%%PORTVERSION%%.a
%%DYNAMIC_ARCH%%lib/libopenblasp-r%%PORTVERSION%%.so
-libdata/pkgconfig/openblas.pc
+%%NO_INTERFACE64%%libdata/pkgconfig/openblas.pc
+%%INTERFACE64%%libdata/pkgconfig/openblas64.pc