summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/cimg/Makefile4
-rw-r--r--graphics/cimg/files/patch-examples__Makefile10
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) \