git: 10c60788587e - main - graphics/cimg: temporarily disable libboard
Thierry Thomas
thierry at FreeBSD.org
Thu May 13 13:44:38 UTC 2021
The branch main has been updated by thierry:
URL: https://cgit.FreeBSD.org/ports/commit/?id=10c60788587e664aa6164bcb667b50a6ad37a59d
commit 10c60788587e664aa6164bcb667b50a6ad37a59d
Author: Thierry Thomas <thierry at FreeBSD.org>
AuthorDate: 2021-05-13 13:41:20 +0000
Commit: Thierry Thomas <thierry at FreeBSD.org>
CommitDate: 2021-05-13 13:41:20 +0000
graphics/cimg: temporarily disable libboard
ATM CImg does not build against ImageMagick (GraphicsMagick is OK), and
since libboard is built against ImageMagick this causes an error.
Reported by: pkg-fallout
---
graphics/cimg/Makefile | 4 ++--
graphics/cimg/files/patch-examples__Makefile | 10 +++++++---
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/graphics/cimg/Makefile b/graphics/cimg/Makefile
index 3f084382634a..84c3e96b8271 100644
--- a/graphics/cimg/Makefile
+++ b/graphics/cimg/Makefile
@@ -3,7 +3,7 @@
PORTNAME= cimg
DISTVERSIONPREFIX= v.
DISTVERSION= 2.9.7
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 3
CATEGORIES= graphics devel
@@ -44,7 +44,7 @@ USES+= blaslapack
.endif
REINPLACE_ARGS= -i ""
-LIB_DEPENDS+= libboard.so:graphics/libboard
+#LIB_DEPENDS+= libboard.so:graphics/libboard
. if !defined(WITH_DEBUG)
LIB_DEPENDS+= libcurl.so:ftp/curl \
diff --git a/graphics/cimg/files/patch-examples__Makefile b/graphics/cimg/files/patch-examples__Makefile
index 01f6af383905..a681c8e1c8f7 100644
--- a/graphics/cimg/files/patch-examples__Makefile
+++ b/graphics/cimg/files/patch-examples__Makefile
@@ -74,7 +74,7 @@
# Flags to enable native support for compressed .cimgz files, using the Zlib library.
# ( http://www.zlib.net/ )
-@@ -288,15 +288,15 @@ endif
+@@ -288,17 +288,17 @@ endif
# Flags to enable the use of LAPACK routines for matrix computation
# ( http://www.netlib.org/lapack/ )
@@ -90,10 +90,14 @@
# ( https://github.com/c-koi/libboard )
BOARD_DEFINE = -Dcimg_use_board
-BOARD_INCDIR = -I/usr/include/board
+-BOARD_CFLAGS = $(BOARD_DEFINE) $(BOARD_INCDIR)
+-BOARD_LIBS = -lboard
+BOARD_INCDIR = -I$(LOCALBASE)/include/board
- BOARD_CFLAGS = $(BOARD_DEFINE) $(BOARD_INCDIR)
- BOARD_LIBS = -lboard
++#BOARD_CFLAGS = $(BOARD_DEFINE) $(BOARD_INCDIR)
++#BOARD_LIBS = -lboard
+ # Flags to compile GIMP plug-ins.
+ ifeq ($(MSYSTEM),MINGW32)
@@ -368,6 +368,7 @@ $(TIFF_LIBS) \
$(HEIF_LIBS) \
$(LAPACK_LIBS) \
More information about the dev-commits-ports-all
mailing list